diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-09-01 10:38:32 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-01 10:38:32 +0200 |
commit | 1e1030dccb1084c8a38976d3656aab1d50d762da (patch) | |
tree | 18c62bd2a12dbb8e8aae56d771f0561784af186b /arch/sh/kernel/irq.c | |
parent | Merge branch 'master' into sh/smp (diff) | |
download | linux-1e1030dccb1084c8a38976d3656aab1d50d762da.tar.xz linux-1e1030dccb1084c8a38976d3656aab1d50d762da.zip |
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/irq.c')
-rw-r--r-- | arch/sh/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index d1053392e287..60f8af4497c7 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c @@ -114,7 +114,7 @@ asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs) #endif irq_enter(); - irq = irq_demux(evt2irq(irq)); + irq = irq_demux(irq); #ifdef CONFIG_IRQSTACKS curctx = (union irq_ctx *)current_thread_info(); |