OpenCloudOS-Kernel/arch/powerpc/mm/book3s32
Nick Child c13f2b2bb5 powerpc/mm: Add __init attribute to eligible functions
Some functions defined in 'arch/powerpc/mm' 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-4-nick.child@ibm.com
2021-12-23 22:33:11 +11:00
..
Makefile powerpc/kuep: Remove 'nosmep' boot time parameter except for book3s/64 2021-12-09 22:41:18 +11:00
hash_low.S powerpc/32s: Rename PTE_SIZE to PTE_T_SIZE 2021-06-17 00:09:10 +10:00
kuap.c powerpc/32s: Save content of sr0 to avoid 'mfsr' 2021-12-09 22:41:17 +11:00
mmu.c powerpc/mm: Add __init attribute to eligible functions 2021-12-23 22:33:11 +11:00
mmu_context.c powerpc/32s: Save content of sr0 to avoid 'mfsr' 2021-12-09 22:41:17 +11:00
nohash_low.S powerpc/32s: Move _tlbie() and _tlbia() in a new file 2020-12-09 16:46:55 +11:00
tlb.c powerpc/32s: Move early_mmu_init() into mmu.c 2020-12-09 16:46:56 +11:00