summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/6xx-suspend.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/6xx-suspend.S')
-rw-r--r--arch/powerpc/sysdev/6xx-suspend.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/6xx-suspend.S b/arch/powerpc/sysdev/6xx-suspend.S
index 21cda085d926..cf48e9cb2575 100644
--- a/arch/powerpc/sysdev/6xx-suspend.S
+++ b/arch/powerpc/sysdev/6xx-suspend.S
@@ -29,7 +29,7 @@ _GLOBAL(mpc6xx_enter_standby)
ori r5, r5, ret_from_standby@l
mtlr r5
- rlwinm r5, r1, 0, 0, 31-THREAD_SHIFT
+ CURRENT_THREAD_INFO(r5, r1)
lwz r6, TI_LOCAL_FLAGS(r5)
ori r6, r6, _TLF_SLEEPING
stw r6, TI_LOCAL_FLAGS(r5)