summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/irq.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-03-21 19:09:51 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-28 02:32:01 +0200
commit7ba3e4f5877466b0f81dcd3cb78db5d75b267645 (patch)
tree239e0f2cc10907e82dabd61b317c8ac6a6baac1b /arch/powerpc/kernel/irq.c
parentpowerpc/pseries: Cut down on enthusiastic use of defines in RAS code (diff)
downloadlinux-7ba3e4f5877466b0f81dcd3cb78db5d75b267645.tar.xz
linux-7ba3e4f5877466b0f81dcd3cb78db5d75b267645.zip
powerpc: Remove NO_IRQ_IGNORE
Now that legacy iSeries is gone, this is no longer used. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r--arch/powerpc/kernel/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index a3d128e94cff..46ce5f733511 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -445,9 +445,9 @@ void do_IRQ(struct pt_regs *regs)
may_hard_irq_enable();
/* And finally process it */
- if (irq != NO_IRQ && irq != NO_IRQ_IGNORE)
+ if (irq != NO_IRQ)
handle_one_irq(irq);
- else if (irq != NO_IRQ_IGNORE)
+ else
__get_cpu_var(irq_stat).spurious_irqs++;
irq_exit();