aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/idle_e500.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/idle_e500.S')
-rw-r--r--arch/powerpc/kernel/idle_e500.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/idle_e500.S b/arch/powerpc/kernel/idle_e500.S
index 4f0ab85f3788..15448668988d 100644
--- a/arch/powerpc/kernel/idle_e500.S
+++ b/arch/powerpc/kernel/idle_e500.S
@@ -21,7 +21,7 @@
21 .text 21 .text
22 22
23_GLOBAL(e500_idle) 23_GLOBAL(e500_idle)
24 rlwinm r3,r1,0,0,31-THREAD_SHIFT /* current thread_info */ 24 CURRENT_THREAD_INFO(r3, r1)
25 lwz r4,TI_LOCAL_FLAGS(r3) /* set napping bit */ 25 lwz r4,TI_LOCAL_FLAGS(r3) /* set napping bit */
26 ori r4,r4,_TLF_NAPPING /* so when we take an exception */ 26 ori r4,r4,_TLF_NAPPING /* so when we take an exception */
27 stw r4,TI_LOCAL_FLAGS(r3) /* it will return to our caller */ 27 stw r4,TI_LOCAL_FLAGS(r3) /* it will return to our caller */
@@ -96,7 +96,7 @@ _GLOBAL(power_save_ppc32_restore)
96 stw r9,_NIP(r11) /* make it do a blr */ 96 stw r9,_NIP(r11) /* make it do a blr */
97 97
98#ifdef CONFIG_SMP 98#ifdef CONFIG_SMP
99 rlwinm r12,r1,0,0,31-THREAD_SHIFT 99 CURRENT_THREAD_INFO(r12, r1)
100 lwz r11,TI_CPU(r12) /* get cpu number * 4 */ 100 lwz r11,TI_CPU(r12) /* get cpu number * 4 */
101 slwi r11,r11,2 101 slwi r11,r11,2
102#else 102#else