summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hw_irq.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-10-16 21:17:08 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-10-16 22:57:38 +0200
commit032fa36091a925f555158f4e80f8a09d951cdb10 (patch)
tree2c8be6190fd037b6092eec6f846507a1edd4ff07 /arch/arm/include/asm/hw_irq.h
parent05d0ca85c91013d5f73c43fb566bde09a9718019 (diff)
downloadlinux-032fa36091a925f555158f4e80f8a09d951cdb10.tar.bz2
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>
Diffstat (limited to 'arch/arm/include/asm/hw_irq.h')
-rw-r--r--arch/arm/include/asm/hw_irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hw_irq.h b/arch/arm/include/asm/hw_irq.h
index 90831f6f5f5c..5586b7c8ef6f 100644
--- a/arch/arm/include/asm/hw_irq.h
+++ b/arch/arm/include/asm/hw_irq.h
@@ -24,4 +24,6 @@ void set_irq_flags(unsigned int irq, unsigned int flags);
#define IRQF_PROBE (1 << 1)
#define IRQF_NOAUTOEN (1 << 2)
+#define ARCH_IRQ_INIT_FLAGS (IRQ_NOREQUEST | IRQ_NOPROBE)
+
#endif