lkml.org 
[lkml]   [2011]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 72/75] x86: Use the proper accessors in fixup_irqs()
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
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);



\
 
 \ /
  Last update: 2011-02-11 00:41    [W:0.247 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site