summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2009-03-13 08:03:37 +0300
committerPaul Mundt <lethal@linux-sh.org>2009-03-16 13:49:21 +0300
commit7a516280b6a99634933b417834e178bde8659da1 (patch)
treebeb5bf3e80f6335d565fa68beda108036e1de74c /arch/sh
parent02ebd32f52c10f90f810e85d0281e9e81dd6e741 (diff)
downloadlinux-7a516280b6a99634933b417834e178bde8659da1.tar.xz
sh: Fix compile error by operands(mov.l) in sh3/entry.S
-- log -- arch/sh/kernel/cpu/sh4/../sh3/entry.S:365: Error: invalid operands for opcode make[4]: *** [arch/sh/kernel/cpu/sh4/../sh3/entry.o] Error 1 make[3]: *** [arch/sh/kernel/cpu/sh4] Error 2 -- log -- Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-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 fba6ac20bb17..55da0ff9848d 100644
--- a/arch/sh/kernel/cpu/sh3/entry.S
+++ b/arch/sh/kernel/cpu/sh3/entry.S
@@ -362,7 +362,7 @@ general_exception:
nop
! Save registers / Switch to bank 0
- mov.l k4, k2 ! keep vector in k2
+ mov k4, k2 ! keep vector in k2
mov.l 1f, k4 ! SR bits to clear in k4
bsr save_regs ! needs original pr value in k3
nop