arm: omap: irq: get rid of ifdef hack
authorFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 00:54:57 +0000 (17:54 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Sep 2014 20:05:49 +0000 (13:05 -0700)
commitd6a7c5c84f5ddab54717914ad293ed9d99d644ff
tree7c22de102bddd3607282a07f859d346ca1e47381
parent52b1e1291334d79bb3d2fcaec15f7fc42eedbd83
arm: omap: irq: get rid of ifdef hack

we don't need the ifdef if we have omap_nr_pending
telling us how many pending registers we have
on current platform. This solves a possible
problem where we could try to handle bogus
interrupts on OMAP2 and OMAP3 if using single
zImage kernel, because we would end up reading
the following pending FIQ register.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/irq.c