diff options
Diffstat (limited to 'arch/powerpc/kernel/paca.c')
-rw-r--r-- | arch/powerpc/kernel/paca.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c index c9bf17eec31b..48a347133f41 100644 --- a/arch/powerpc/kernel/paca.c +++ b/arch/powerpc/kernel/paca.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <asm/lppaca.h> | 13 | #include <asm/lppaca.h> |
14 | #include <asm/paca.h> | 14 | #include <asm/paca.h> |
15 | #include <asm/sections.h> | ||
15 | 16 | ||
16 | /* This symbol is provided by the linker - let it fill in the paca | 17 | /* This symbol is provided by the linker - let it fill in the paca |
17 | * field correctly */ | 18 | * field correctly */ |
@@ -79,6 +80,8 @@ void __init initialise_pacas(void) | |||
79 | new_paca->lock_token = 0x8000; | 80 | new_paca->lock_token = 0x8000; |
80 | new_paca->paca_index = cpu; | 81 | new_paca->paca_index = cpu; |
81 | new_paca->kernel_toc = kernel_toc; | 82 | new_paca->kernel_toc = kernel_toc; |
83 | new_paca->kernelbase = (unsigned long) _stext; | ||
84 | new_paca->kernel_msr = MSR_KERNEL; | ||
82 | new_paca->hw_cpu_id = 0xffff; | 85 | new_paca->hw_cpu_id = 0xffff; |
83 | new_paca->slb_shadow_ptr = &slb_shadow[cpu]; | 86 | new_paca->slb_shadow_ptr = &slb_shadow[cpu]; |
84 | new_paca->__current = &init_task; | 87 | new_paca->__current = &init_task; |