summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/head.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S
index 4c3e5bd52..d7f3855c0 100644
--- a/arch/mips/kernel/head.S
+++ b/arch/mips/kernel/head.S
@@ -27,7 +27,10 @@
*/
#define GET_CURRENT(reg) \
lui reg, %hi(kernelsp); \
+ .set push; \
+ .set noreorder; \
lw reg, %lo(kernelsp)(reg); \
+ .set pop; \
ori reg, 8191; \
xori reg, 8191