708597daf2
Currenty pmu driver file for each ppc64 generation processor has a __init call in itself. Refactor the code by moving the __init call to core-books.c. This also clean's up compat mode pmu driver registration. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> [mpe: Use SPDX tag for license] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
12 lines
336 B
C
12 lines
336 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
//
|
|
// Copyright 2019 Madhavan Srinivasan, IBM Corporation.
|
|
|
|
extern int init_ppc970_pmu(void);
|
|
extern int init_power5_pmu(void);
|
|
extern int init_power5p_pmu(void);
|
|
extern int init_power6_pmu(void);
|
|
extern int init_power7_pmu(void);
|
|
extern int init_power8_pmu(void);
|
|
extern int init_power9_pmu(void);
|