diff options
Diffstat (limited to 'include/asm-sh/entry-macros.S')
-rw-r--r-- | include/asm-sh/entry-macros.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sh/entry-macros.S b/include/asm-sh/entry-macros.S index 099fe8189bbe..500030eae7aa 100644 --- a/include/asm-sh/entry-macros.S +++ b/include/asm-sh/entry-macros.S | |||
@@ -23,8 +23,9 @@ | |||
23 | #ifdef CONFIG_HAS_SR_RB | 23 | #ifdef CONFIG_HAS_SR_RB |
24 | stc r7_bank, \ti | 24 | stc r7_bank, \ti |
25 | #else | 25 | #else |
26 | mov #((THREAD_SIZE - 1)>> 8) ^ 0xff, \tmp | 26 | mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp |
27 | shll8 \tmp | 27 | shll8 \tmp |
28 | shll2 \tmp | ||
28 | mov r15, \ti | 29 | mov r15, \ti |
29 | and \tmp, \ti | 30 | and \tmp, \ti |
30 | #endif | 31 | #endif |