diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-07 14:25:25 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:15 -0500 |
commit | bd062e7667ac173afef57fbfe9327f3b914a9d4c (patch) | |
tree | 29e798cb397311abec53ad45b73efdede1fc37b7 /kernel/irq/manage.c | |
parent | e6bea9c404699223322d7411c6f2ceaec02fa83c (diff) |
genirq: Move IRQ_AUTODETECT to internal state
No users outside of core
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index dd4e5c21b9e7..abe852c9449d 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -897,8 +897,9 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new) | |||
897 | desc->status |= IRQ_PER_CPU; | 897 | desc->status |= IRQ_PER_CPU; |
898 | #endif | 898 | #endif |
899 | 899 | ||
900 | desc->status &= ~(IRQ_AUTODETECT | IRQ_WAITING | IRQ_ONESHOT | | 900 | desc->status &= ~(IRQ_WAITING | IRQ_ONESHOT | |
901 | IRQ_INPROGRESS | IRQ_SPURIOUS_DISABLED); | 901 | IRQ_INPROGRESS | IRQ_SPURIOUS_DISABLED); |
902 | desc->istate &= ~IRQS_AUTODETECT; | ||
902 | 903 | ||
903 | if (new->flags & IRQF_ONESHOT) | 904 | if (new->flags & IRQF_ONESHOT) |
904 | desc->status |= IRQ_ONESHOT; | 905 | desc->status |= IRQ_ONESHOT; |