mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
c49f5d88ff
Some functions defined in 'arch/powerpc/perf' are deserving of an `__init` macro attribute. These functions are only called by other initialization functions and therefore should inherit the attribute. Also, change function declarations in header files to include `__init`. Signed-off-by: Nick Child <nick.child@ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211216220035.605465-5-nick.child@ibm.com
14 lines
413 B
C
14 lines
413 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
//
|
|
// Copyright 2019 Madhavan Srinivasan, IBM Corporation.
|
|
|
|
int __init init_ppc970_pmu(void);
|
|
int __init init_power5_pmu(void);
|
|
int __init init_power5p_pmu(void);
|
|
int __init init_power6_pmu(void);
|
|
int __init init_power7_pmu(void);
|
|
int __init init_power8_pmu(void);
|
|
int __init init_power9_pmu(void);
|
|
int __init init_power10_pmu(void);
|
|
int __init init_generic_compat_pmu(void);
|