aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-09-01 04:38:32 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-09-01 04:38:32 -0400
commit1e1030dccb1084c8a38976d3656aab1d50d762da (patch)
tree18c62bd2a12dbb8e8aae56d771f0561784af186b /arch/sh/kernel/Makefile
parentac6a0cf6716bb46813d0161024c66c2af66e53d1 (diff)
sh: nmi_debug support.
This implements support for NMI debugging that was shamelessly copied from the avr32 port. A bit of special magic is needed in the interrupt exception path given that the NMI exception handler is stubbed in to the regular exception handling table despite being reported in INTEVT. So we mangle the lookup and kick off an EXPEVT-style exception dispatch from the INTEVT path for exceptions that do_IRQ() has no chance of handling. As a result, we also drop the evt2irq() conversion from the do_IRQ() path and just do it in assembly. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/Makefile')
-rw-r--r--arch/sh/kernel/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile
index f37cf02ad9be..a2d0a40f3848 100644
--- a/arch/sh/kernel/Makefile
+++ b/arch/sh/kernel/Makefile
@@ -10,9 +10,10 @@ CFLAGS_REMOVE_ftrace.o = -pg
10endif 10endif
11 11
12obj-y := debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o \ 12obj-y := debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o \
13 machvec.o process_$(BITS).o ptrace_$(BITS).o setup.o \ 13 machvec.o nmi_debug.o process_$(BITS).o ptrace_$(BITS).o \
14 signal_$(BITS).o sys_sh.o sys_sh$(BITS).o syscalls_$(BITS).o \ 14 setup.o signal_$(BITS).o sys_sh.o sys_sh$(BITS).o \
15 time.o topology.o traps.o traps_$(BITS).o unwinder.o 15 syscalls_$(BITS).o time.o topology.o traps.o \
16 traps_$(BITS).o unwinder.o
16 17
17obj-y += cpu/ 18obj-y += cpu/
18obj-$(CONFIG_VSYSCALL) += vsyscall/ 19obj-$(CONFIG_VSYSCALL) += vsyscall/