diff options
Diffstat (limited to 'arch/powerpc/kernel/misc_32.S')
-rw-r--r-- | arch/powerpc/kernel/misc_32.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S index 386d57f66f28..407e293aad2f 100644 --- a/arch/powerpc/kernel/misc_32.S +++ b/arch/powerpc/kernel/misc_32.S | |||
@@ -179,7 +179,7 @@ _GLOBAL(low_choose_750fx_pll) | |||
179 | mtspr SPRN_HID1,r4 | 179 | mtspr SPRN_HID1,r4 |
180 | 180 | ||
181 | /* Store new HID1 image */ | 181 | /* Store new HID1 image */ |
182 | rlwinm r6,r1,0,0,(31-THREAD_SHIFT) | 182 | CURRENT_THREAD_INFO(r6, r1) |
183 | lwz r6,TI_CPU(r6) | 183 | lwz r6,TI_CPU(r6) |
184 | slwi r6,r6,2 | 184 | slwi r6,r6,2 |
185 | addis r6,r6,nap_save_hid1@ha | 185 | addis r6,r6,nap_save_hid1@ha |
@@ -699,7 +699,7 @@ _GLOBAL(kernel_thread) | |||
699 | #ifdef CONFIG_SMP | 699 | #ifdef CONFIG_SMP |
700 | _GLOBAL(start_secondary_resume) | 700 | _GLOBAL(start_secondary_resume) |
701 | /* Reset stack */ | 701 | /* Reset stack */ |
702 | rlwinm r1,r1,0,0,(31-THREAD_SHIFT) /* current_thread_info() */ | 702 | CURRENT_THREAD_INFO(r1, r1) |
703 | addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD | 703 | addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD |
704 | li r3,0 | 704 | li r3,0 |
705 | stw r3,0(r1) /* Zero the stack frame pointer */ | 705 | stw r3,0(r1) /* Zero the stack frame pointer */ |