summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2009-03-13 06:03:37 +0100
committerPaul Mundt <lethal@linux-sh.org>2009-03-16 11:49:21 +0100
commit7a516280b6a99634933b417834e178bde8659da1 (patch)
treebeb5bf3e80f6335d565fa68beda108036e1de74c /arch/sh
parentsh: Disable get_dma_error_irq for non-SH4 targets. (diff)
downloadlinux-7a516280b6a99634933b417834e178bde8659da1.tar.xz
linux-7a516280b6a99634933b417834e178bde8659da1.zip
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