omap1: Use asm_irq_flags for entry-macro.S
authorTony Lindgren <tony@atomide.com>
Thu, 9 Dec 2010 23:49:23 +0000 (15:49 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 9 Dec 2010 23:49:23 +0000 (15:49 -0800)
commit03a9e5126147c9f92aeba4b34f62b15b625087fb
tree6673d24a716ca01911b69f541b1c7bd56c0a827a
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
omap1: Use asm_irq_flags for entry-macro.S

Initialize asm_irq_flags in omap_init_irq and use it in
get_irqnr_and_base to detect between omap7xx and omap15xx/16xx.

Note that both INT_1510_IH2_IRQ and INT_1510_IH2_IRQ are defined
as 0, so use INT_1510_IH2_IRQ for both of them.

Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/include/mach/entry-macro.S
arch/arm/mach-omap1/irq.c
arch/arm/plat-omap/include/plat/irqs.h