sh: intc: Fix sense regs oops for IRL IRQs.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 7 Aug 2007 09:51:19 +0000 (18:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:48 +0000 (11:57 +0900)
commit6d64d4256cccd3a452ebd8c37a1d41e2d5dab8c6
treebaacb7d40fac6a97ac98dc8bbcd703045f03bd94
parent96290d808fa4c9b8e744dc1cd032b005179f4710
sh: intc: Fix sense regs oops for IRL IRQs.

IRL doesn't always define sense registers, so don't bother trying to
iterate through the table. This ended up causing an oops on SH-X3
when using IRL mode.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/irq/intc.c