diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-05 01:07:50 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-21 05:17:25 -0400 |
commit | 009776baa18448b223be73ac74912fef7e17b9e2 (patch) | |
tree | de3f8d9bd5c10476158a03b78ca5fa24be809e83 /arch/powerpc | |
parent | f7b9ebb79e90b19bf6a2cb805a536258437fc3fa (diff) |
powerpc/64: Make a few boot functions __init
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index f55c25dff02c..fba96ada3012 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -198,7 +198,7 @@ early_param("smt-enabled", early_smt_enabled); | |||
198 | #endif /* CONFIG_SMP */ | 198 | #endif /* CONFIG_SMP */ |
199 | 199 | ||
200 | /** Fix up paca fields required for the boot cpu */ | 200 | /** Fix up paca fields required for the boot cpu */ |
201 | static void fixup_boot_paca(void) | 201 | static void __init fixup_boot_paca(void) |
202 | { | 202 | { |
203 | /* The boot cpu is started */ | 203 | /* The boot cpu is started */ |
204 | get_paca()->cpu_start = 1; | 204 | get_paca()->cpu_start = 1; |
@@ -206,7 +206,7 @@ static void fixup_boot_paca(void) | |||
206 | get_paca()->data_offset = 0; | 206 | get_paca()->data_offset = 0; |
207 | } | 207 | } |
208 | 208 | ||
209 | static void configure_exceptions(void) | 209 | static void __init configure_exceptions(void) |
210 | { | 210 | { |
211 | /* | 211 | /* |
212 | * Setup the trampolines from the lowmem exception vectors | 212 | * Setup the trampolines from the lowmem exception vectors |
@@ -517,7 +517,7 @@ static __init void print_system_info(void) | |||
517 | * used to allocate interrupt or emergency stacks for which our | 517 | * used to allocate interrupt or emergency stacks for which our |
518 | * exception entry path doesn't deal with being interrupted. | 518 | * exception entry path doesn't deal with being interrupted. |
519 | */ | 519 | */ |
520 | static u64 safe_stack_limit(void) | 520 | static __init u64 safe_stack_limit(void) |
521 | { | 521 | { |
522 | #ifdef CONFIG_PPC_BOOK3E | 522 | #ifdef CONFIG_PPC_BOOK3E |
523 | /* Freescale BookE bolts the entire linear mapping */ | 523 | /* Freescale BookE bolts the entire linear mapping */ |