aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/head_64.S4
-rw-r--r--arch/powerpc/kernel/paca.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index 43a38d89eafc..44229c3749ac 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -1521,10 +1521,6 @@ _INIT_GLOBAL(start_here_common)
1521 li r0,0 1521 li r0,0
1522 stdu r0,-STACK_FRAME_OVERHEAD(r1) 1522 stdu r0,-STACK_FRAME_OVERHEAD(r1)
1523 1523
1524 /* ptr to current */
1525 LOAD_REG_IMMEDIATE(r4, init_task)
1526 std r4,PACACURRENT(r13)
1527
1528 /* Load the TOC */ 1524 /* Load the TOC */
1529 ld r2,PACATOC(r13) 1525 ld r2,PACATOC(r13)
1530 std r1,PACAKSAVE(r13) 1526 std r1,PACAKSAVE(r13)
diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c
index 867b22d17385..ac163bd46cfd 100644
--- a/arch/powerpc/kernel/paca.c
+++ b/arch/powerpc/kernel/paca.c
@@ -73,6 +73,7 @@ struct slb_shadow slb_shadow[] __cacheline_aligned = {
73 .kernel_toc = (unsigned long)(&__toc_start) + 0x8000UL, \ 73 .kernel_toc = (unsigned long)(&__toc_start) + 0x8000UL, \
74 .hw_cpu_id = 0xffff, \ 74 .hw_cpu_id = 0xffff, \
75 .slb_shadow_ptr = &slb_shadow[number], \ 75 .slb_shadow_ptr = &slb_shadow[number], \
76 .__current = &init_task, \
76} 77}
77 78
78struct paca_struct paca[] = { 79struct paca_struct paca[] = {