genirq: Provide default irq init flags
authorThomas Gleixner <tglx@linutronix.de>
Mon, 27 Sep 2010 19:01:37 +0000 (21:01 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:39:06 +0000 (16:39 +0200)
commit1318a481fc37c503a901b96ae06b692ca2b21af5
tree2b1bb8f52af5938759af38efdfa8a868b02d5804
parentd895f51ebb54cefe367bda135fcf2cd734d51d03
genirq: Provide default irq init flags

Arch code sets it's own irq_desc.status flags right after boot and for
dynamically allocated interrupts. That might involve iterating over a
huge array.

Allow ARCH_IRQ_INIT_FLAGS to set separate flags aside of IRQ_DISABLED
which is the default.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
include/linux/irq.h
kernel/irq/chip.c
kernel/irq/irqdesc.c