]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a55886e099f373be1580e69605f87cf7f5f7ce6
tree7c22de102bddd3607282a07f859d346ca1e47381
parent8d6017a59a4debdf015163a7ea5288ceeacfe1a9
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