]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Move in the SH-5 traps.c impl.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 10 Nov 2007 11:14:15 +0000 (20:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:43 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/Makefile_32
arch/sh/kernel/Makefile_64
arch/sh/kernel/traps_32.c [moved from arch/sh/kernel/traps.c with 100% similarity]
arch/sh/kernel/traps_64.c [moved from arch/sh64/kernel/traps.c with 99% similarity]

index bad6bf5ac47823f411e85a0d68f85239cd59b6b8..29b44eb3b93444c37f36f5182ffe941986bde7e7 100644 (file)
@@ -6,7 +6,7 @@ extra-y := head.o init_task.o vmlinux.lds
 
 obj-y  := debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \
           ptrace_32.o semaphore.o setup.o signal_32.o sys_sh.o syscalls.o \
-          time.o topology.o traps.o
+          time.o topology.o traps_32.o
 
 obj-y                          += cpu/ timers/
 obj-$(CONFIG_VSYSCALL)         += vsyscall/
index 1f27d5fd99a83281b028e2b7e6a50cfb0fd1a061..fb87d642d1c1594d14577c7e511731016b45c38f 100644 (file)
@@ -2,7 +2,7 @@ extra-y := head.o init_task.o vmlinux.lds
 
 obj-y  := debugtraps.o io.o io_generic.o irq.o machvec.o process_64.o \
           ptrace_64.o semaphore.o setup.o signal_64.o sys_sh64.o syscalls.o \
-          time.o topology.o traps.o
+          time.o topology.o traps_64.o
 
 obj-y                          += cpu/ timers/
 obj-$(CONFIG_VSYSCALL)         += vsyscall/
similarity index 99%
rename from arch/sh64/kernel/traps.c
rename to arch/sh/kernel/traps_64.c
index f32df3831f45168f3c3c542d044dab1e659543bc..742ce18b682063a0e632df96c00f8f40e0726d06 100644 (file)
@@ -244,7 +244,6 @@ DO_ERROR(12, SIGILL,  "reserved instruction", reserved_inst, current)
 /* Called with interrupts disabled */
 asmlinkage void do_exception_error(unsigned long ex, struct pt_regs *regs)
 {
-       PLS();
        show_excp_regs(__FUNCTION__, -1, -1, regs);
        die_if_kernel("exception", regs, ex);
 }