linux/arch/powerpc/platforms/powernv
Nick Child e5913db1ef powerpc/powernv: Add __init attribute to eligible functions
Some functions defined in 'arch/powerpc/platforms/powernv' 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-12-nick.child@ibm.com
2021-12-23 22:33:15 +11:00
..
copy-paste.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
eeh-powernv.c powerpc/eeh: Clean up PE addressing 2020-10-06 23:22:25 +11:00
idle.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
Makefile powerpc/vas: Move VAS API to book3s common platform 2021-06-20 21:58:55 +10:00
memtrace.c powerpc: rename powerpc_debugfs_root to arch_debugfs_dir 2021-08-13 22:04:26 +10:00
ocxl.c ocxl: Use pci core's DVSEC functionality 2021-10-29 11:53:52 -07:00
opal-async.c powerpc: Use fallthrough pseudo-keyword 2020-07-29 21:09:37 +10:00
opal-call.c powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
opal-core.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
opal-dump.c powerpc/powernv/dump: Fix typo in comment 2021-10-09 00:15:59 +11:00
opal-elog.c powerpc/powernv: Rate limit opal-elog read failure message 2020-12-15 22:53:27 +11:00
opal-fadump.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
opal-fadump.h powerpc/fadump: support holes in kernel boot memory area 2019-09-14 00:04:46 +10:00
opal-flash.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
opal-hmi.c powerpc/64s/powernv: Ratelimit harmless HMI error printing 2020-12-04 01:01:23 +11:00
opal-imc.c powerpc: remove cpu_online_cores_map function 2021-11-29 22:48:32 +11:00
opal-irqchip.c powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-10 23:15:02 +10:00
opal-kmsg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
opal-lpc.c powerpc/powernv: add missing of_node_put 2021-11-25 11:25:29 +11:00
opal-memory-errors.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
opal-msglog.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
opal-nvram.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
opal-power.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
opal-powercap.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
opal-prd.c powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload 2021-10-29 16:47:32 +11:00
opal-psr.c powerpc/powernv: Make some symbols static 2019-11-13 16:58:06 +11:00
opal-rtc.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
opal-secvar.c powerpc/powernv: Add OPAL API interface to access secure variable 2019-11-13 00:33:22 +11:00
opal-sensor-groups.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
opal-sensor.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
opal-sysparam.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
opal-tracepoints.c
opal-wrappers.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
opal-xscom.c powerpc: rename powerpc_debugfs_root to arch_debugfs_dir 2021-08-13 22:04:26 +10:00
opal.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
pci-cxl.c powerpc/powernv: remove get_cxl_module 2021-02-08 12:20:17 +01:00
pci-ioda-tce.c powerpc/powernv/pci: fix a RCU-list lock 2021-01-31 22:35:49 +11:00
pci-ioda.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
pci-sriov.c pci-v5.16-changes 2021-11-06 14:36:12 -07:00
pci.c powerpc/powernv/pci: Drop unused MSI code 2021-08-10 23:15:00 +10:00
pci.h powerpc/powernv/pci: Drop unused MSI code 2021-08-10 23:15:00 +10:00
powernv.h powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
rng.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
setup.c powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
smp.c powerpc/64s: Trim offlined CPUs from mm_cpumasks 2020-11-27 00:10:39 +11:00
subcore-asm.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
subcore.c powerpc: Move update_power8_hid0() into its only user 2021-06-17 00:09:11 +10:00
subcore.h powerpc: remove unneeded semicolons 2021-02-09 00:10:50 +11:00
ultravisor.c powerpc/powernv: Add ultravisor message log interface 2019-08-30 09:40:16 +10:00
vas-debug.c powerpc/vas: Define and use common vas_window struct 2021-06-20 21:58:56 +10:00
vas-fault.c powerpc/vas: Define and use common vas_window struct 2021-06-20 21:58:56 +10:00
vas-trace.h powerpc/vas: Define and use common vas_window struct 2021-06-20 21:58:56 +10:00
vas-window.c powerpc/vas: Define and use common vas_window struct 2021-06-20 21:58:56 +10:00
vas.c powerpc/vas: Fix IRQ name allocation 2021-01-30 11:39:31 +11:00
vas.h powerpc/vas: Define and use common vas_window struct 2021-06-20 21:58:56 +10:00