linux/arch/powerpc/platforms
Nick Child 7da1d1ddd1 cuda/pmu: Make find_via_cuda/pmu init functions
Make `find_via_cuda` and `find_via_pmu` initialization functions.
Previously, their definitions in `drivers/macintosh/via-cuda.h` include
the `__init` attribute but their alternative definitions in
`arch/powerpc/powermac/sectup./c` and prototypes in `include/linux/
cuda.h` and `include/linux/pmu.h` do not use the `__init` macro. Since,
only initialization functions call `find_via_cuda` and `find_via_pmu`
it is safe to label these functions with `__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-21-nick.child@ibm.com
2021-12-23 22:35:00 +11:00
..
4xx powerpc/4xx: Add __init attribute to eligible functions 2021-12-23 22:33:16 +11:00
8xx powerpc: bad_page_fault get registers from regs 2021-02-09 00:02:09 +11:00
40x powerpc: Remove IBM405 Erratum #77 2020-05-28 23:24:36 +10:00
44x powerpc/44x: Add __init attribute to eligible functions 2021-12-23 22:33:17 +11:00
52xx powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
82xx powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:41 +01:00
83xx powerpc/83xx: Add __init attribute to eligible functions 2021-12-23 22:33:18 +11:00
85xx powerpc/85xx: Add __init attribute to eligible functions 2021-12-23 22:33:18 +11:00
86xx powerpc: retire sbc8641d board support 2021-08-27 00:48:18 +10:00
512x powerpc/512x: Add __init attribute to eligible functions 2021-12-23 22:33:19 +11:00
amigaone powerpc/amigaone: Make amigaone_discover_phbs() static 2021-02-11 23:28:51 +11:00
book3s powerpc/vas: Fix potential NULL pointer dereference 2021-10-22 15:22:04 +11:00
cell powerpc/cell: Add __init attribute to eligible functions 2021-12-23 22:33:13 +11:00
chrp powerpc/chrp: Add __init attribute to eligible functions 2021-12-23 22:33:13 +11:00
embedded6xx powerpc/embedded6xx: Add __init attribute to eligible functions 2021-12-23 22:33:17 +11:00
maple powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
microwatt powerpc/microwatt: add POWER9_CPU, clear PPC_64S_HASH_MMU 2021-12-09 22:41:16 +11:00
pasemi powerpc/pasemi: Add __init attribute to eligible functions 2021-12-23 22:33:14 +11:00
powermac cuda/pmu: Make find_via_cuda/pmu init functions 2021-12-23 22:35:00 +11:00
powernv powerpc/powernv: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
ps3 powerpc/ps3: Add __init attribute to eligible functions 2021-12-23 22:33:16 +11:00
pseries powerpc/pseries: Add __init attribute to eligible functions 2021-12-23 22:33:15 +11:00
fsl_uli1575.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
Kconfig.cputype powerpc: Remove CONFIG_PPC_HAVE_KUAP and CONFIG_PPC_HAVE_KUEP 2021-12-09 22:41:20 +11:00
Makefile powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00