diff options
Diffstat (limited to 'include/asm-mips/stackframe.h')
-rw-r--r-- | include/asm-mips/stackframe.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-mips/stackframe.h b/include/asm-mips/stackframe.h index 7b5e64600bc8..e33e302c3429 100644 --- a/include/asm-mips/stackframe.h +++ b/include/asm-mips/stackframe.h | |||
@@ -78,7 +78,12 @@ | |||
78 | MFC0 k1, CP0_CONTEXT | 78 | MFC0 k1, CP0_CONTEXT |
79 | dsrl k1, 23 | 79 | dsrl k1, 23 |
80 | dsll k1, k1, 3 | 80 | dsll k1, k1, 3 |
81 | LONG_L k1, kernelsp(k1) | 81 | lui k0, %highest(kernelsp) |
82 | daddiu k0, %higher(kernelsp) | ||
83 | dsll k0, k0, 16 | ||
84 | daddiu k0, %hi(kernelsp) | ||
85 | daddu k1, k1, k0 | ||
86 | LONG_L k1, %lo(kernelsp)(k1) | ||
82 | #endif | 87 | #endif |
83 | .endm | 88 | .endm |
84 | 89 | ||