diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-09 14:44:17 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 12:58:21 +0100 |
commit | 1ccb4e612f68ceefb888c2c6c1def6294ea8666d (patch) | |
tree | f3cae56489a56ebc54e06871abdf63193dc5a4bb /kernel/irq/spurious.c | |
parent | 876dbd4cc1b35c1a4cb96a2be1d43ea0eabce3b4 (diff) | |
download | op-kernel-dev-1ccb4e612f68ceefb888c2c6c1def6294ea8666d.zip op-kernel-dev-1ccb4e612f68ceefb888c2c6c1def6294ea8666d.tar.gz |
genirq: Wrap the remaning IRQ_* flags
Use wrappers to keep them away from the core code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/spurious.c')
-rw-r--r-- | kernel/irq/spurious.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c index 226ed7d..dd586eb 100644 --- a/kernel/irq/spurious.c +++ b/kernel/irq/spurious.c @@ -68,8 +68,7 @@ static int try_one_irq(int irq, struct irq_desc *desc, bool force) raw_spin_lock(&desc->lock); /* PER_CPU and nested thread interrupts are never polled */ - if (irq_settings_is_per_cpu(desc) || - (desc->status & IRQ_NESTED_THREAD)) + if (irq_settings_is_per_cpu(desc) || irq_settings_is_nested_thread(desc)) goto out; /* |