summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2009-03-13 05:03:37 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-03-16 19:49:21 +0900
commit7a516280b6a99634933b417834e178bde8659da1 (patch)
treebeb5bf3e80f6335d565fa68beda108036e1de74c
parent02ebd32f52c10f90f810e85d0281e9e81dd6e741 (diff)
downloadop-kernel-dev-7a516280b6a99634933b417834e178bde8659da1.zip
op-kernel-dev-7a516280b6a99634933b417834e178bde8659da1.tar.gz
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>
-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 fba6ac2..55da0ff 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
OpenPOWER on IntegriCloud