]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33e26e52536b1e59cb09de39f4dd170b3133450f
tree6673d24a716ca01911b69f541b1c7bd56c0a827a
parent008a809c1876b772916100e73b1af144d2c29802
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