[patch 72/75] x86: Use the proper accessors in fixup_irqs()

From: Thomas Gleixner
Date: Thu Feb 10 2011 - 18:38:52 EST


Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
arch/x86/kernel/irq.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Index: linux-2.6-tip/arch/x86/kernel/irq.c
===================================================================
--- linux-2.6-tip.orig/arch/x86/kernel/irq.c
+++ linux-2.6-tip/arch/x86/kernel/irq.c
@@ -327,7 +327,8 @@ void fixup_irqs(void)
affinity = cpu_all_mask;
}

- if (!(desc->status & IRQ_MOVE_PCNTXT) && data->chip->irq_mask)
+ if (!irqd_can_move_in_process_context(data) &&
+ data->chip->irq_mask)
data->chip->irq_mask(data);

if (data->chip->irq_set_affinity)
@@ -335,7 +336,8 @@ void fixup_irqs(void)
else if (!(warned++))
set_affinity = 0;

- if (!(desc->status & IRQ_MOVE_PCNTXT) && data->chip->irq_unmask)
+ if (!irqd_can_move_in_process_context(data) &&
+ data->chip->irq_unmask)
data->chip->irq_unmask(data);

raw_spin_unlock(&desc->lock);


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/