]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/entry-macros.S
Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...
[linux-2.6-omap-h63xx.git] / include / asm-sh / entry-macros.S
index 099fe8189bbe3a863e8d75091d1fde6e22c8f3a7..500030eae7aa8d1352c5ac6dbba0385ba57b1da2 100644 (file)
@@ -23,8 +23,9 @@
 #ifdef CONFIG_HAS_SR_RB
        stc     r7_bank, \ti
 #else
-       mov     #((THREAD_SIZE - 1)>> 8) ^ 0xff, \tmp
+       mov     #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp
        shll8   \tmp
+       shll2   \tmp
        mov     r15, \ti
        and     \tmp, \ti
 #endif