summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-02-27 17:02:28 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-02-27 17:02:28 +0900
commit0d5e19ab07cf61cb0794cfac4df0a1bd5d1e19d7 (patch)
treecf1c6ba897ee0423c7bd3c34a4c57d6497341c81 /arch/sh/kernel
parent57e41c86e21c03941d17df29e0793fd04585d9ee (diff)
downloadop-kernel-dev-0d5e19ab07cf61cb0794cfac4df0a1bd5d1e19d7.zip
op-kernel-dev-0d5e19ab07cf61cb0794cfac4df0a1bd5d1e19d7.tar.gz
sh: Fix up SH-X3 general exception handler build.
With the recent entry.S refactoring, the SH-X3 path had a mov.l for a register to register copy, resulting in: AS arch/sh/kernel/cpu/sh4/../sh3/entry.o arch/sh/kernel/cpu/sh4/../sh3/entry.S: Assembler messages: arch/sh/kernel/cpu/sh4/../sh3/entry.S:366: Error: invalid operands for opcode make[3]: *** [arch/sh/kernel/cpu/sh4/../sh3/entry.o] Error 1 Switch it over to a mov to fix it up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-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 e984e94..c4829d6 100644
--- a/arch/sh/kernel/cpu/sh3/entry.S
+++ b/arch/sh/kernel/cpu/sh3/entry.S
@@ -363,7 +363,7 @@ general_exception:
! Save registers / Switch to bank 0
bsr save_regs ! needs original pr value in k3
- mov.l k4, k2 ! keep vector in k2
+ mov k4, k2 ! keep vector in k2
bra handle_exception_special
nop
OpenPOWER on IntegriCloud