Commit 009776ba authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Michael Ellerman

powerpc/64: Make a few boot functions __init

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent f7b9ebb7
...@@ -198,7 +198,7 @@ early_param("smt-enabled", early_smt_enabled); ...@@ -198,7 +198,7 @@ early_param("smt-enabled", early_smt_enabled);
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
/** Fix up paca fields required for the boot cpu */ /** Fix up paca fields required for the boot cpu */
static void fixup_boot_paca(void) static void __init fixup_boot_paca(void)
{ {
/* The boot cpu is started */ /* The boot cpu is started */
get_paca()->cpu_start = 1; get_paca()->cpu_start = 1;
...@@ -206,7 +206,7 @@ static void fixup_boot_paca(void) ...@@ -206,7 +206,7 @@ static void fixup_boot_paca(void)
get_paca()->data_offset = 0; get_paca()->data_offset = 0;
} }
static void configure_exceptions(void) static void __init configure_exceptions(void)
{ {
/* /*
* Setup the trampolines from the lowmem exception vectors * Setup the trampolines from the lowmem exception vectors
...@@ -517,7 +517,7 @@ static __init void print_system_info(void) ...@@ -517,7 +517,7 @@ static __init void print_system_info(void)
* used to allocate interrupt or emergency stacks for which our * used to allocate interrupt or emergency stacks for which our
* exception entry path doesn't deal with being interrupted. * exception entry path doesn't deal with being interrupted.
*/ */
static u64 safe_stack_limit(void) static __init u64 safe_stack_limit(void)
{ {
#ifdef CONFIG_PPC_BOOK3E #ifdef CONFIG_PPC_BOOK3E
/* Freescale BookE bolts the entire linear mapping */ /* Freescale BookE bolts the entire linear mapping */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment