arm: Use ARCH_IRQ_INIT_FLAGS
authorThomas Gleixner <tglx@linutronix.de>
Sat, 16 Oct 2010 19:17:08 +0000 (21:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 16 Oct 2010 20:57:38 +0000 (22:57 +0200)
commit032fa36091a925f555158f4e80f8a09d951cdb10
tree2c8be6190fd037b6092eec6f846507a1edd4ff07
parent05d0ca85c91013d5f73c43fb566bde09a9718019
arm: Use ARCH_IRQ_INIT_FLAGS

The core code now initializes the requested number of interrupts and
sets the flags in irq_desc.status which are requested by the
architecture via ARCH_IRQ_INIT_FLAGS.

Add ARCH_IRQ_INIT_FLAGS and remove the loop which sets those flags
after the irq descriptors are allocated.

[ This patch should have been in the original irq rework and got
  dropped accidentaly ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij@stericsson.com>
Cc: Anand Gadiyar <gadiyar@ti.com>
arch/arm/include/asm/hw_irq.h
arch/arm/kernel/irq.c