diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2011-07-07 22:32:17 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-07-28 11:23:21 +0200 |
commit | f3637a5f2e2eb391ff5757bc83fb5de8f9726464 (patch) | |
tree | 4573995893bfe66e505b11bf4277cf062e1a7eea /kernel/irq/irqdesc.c | |
parent | genirq: Fix wrong bit operation (diff) | |
download | linux-f3637a5f2e2eb391ff5757bc83fb5de8f9726464.tar.xz linux-f3637a5f2e2eb391ff5757bc83fb5de8f9726464.zip |
irq: Always set IRQF_ONESHOT if no primary handler is specified
If no primary handler is specified then a default one is assigned
which always returns IRQ_WAKE_THREAD. This handler requires the
IRQF_ONESHOT flag on LEVEL / EIO typed irqs because the source of
interrupt is not disabled. Since it is required for those users and
there is no difference for others it makes sense to add this flag
unconditionally.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: http://lkml.kernel.org/r/1310070737-18514-1-git-send-email-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/irqdesc.c')
0 files changed, 0 insertions, 0 deletions