aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r--arch/sh/kernel/cpu/sh3/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh3/entry.S b/arch/sh/kernel/cpu/sh3/entry.S
index 8c19e21847d7..9421ec715fd2 100644
--- a/arch/sh/kernel/cpu/sh3/entry.S
+++ b/arch/sh/kernel/cpu/sh3/entry.S
@@ -257,7 +257,7 @@ restore_all:
257 ! 257 !
258 ! Calculate new SR value 258 ! Calculate new SR value
259 mov k3, k2 ! original SR value 259 mov k3, k2 ! original SR value
260 mov #0xf0, k1 260 mov #0xfffffff0, k1
261 extu.b k1, k1 261 extu.b k1, k1
262 not k1, k1 262 not k1, k1
263 and k1, k2 ! Mask original SR value 263 and k1, k2 ! Mask original SR value