diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 17:24:55 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 17:24:55 +0900 |
commit | 66fdc951720406deb3b0f17094cb16ec623f525d (patch) | |
tree | 24f0ea4cc5d563e4e11cb3bdeb0ca86dd28e8cb6 /kernel/irq/manage.c | |
parent | f425752fc66acf1d4e47970ea704ed7d31c14173 (diff) | |
parent | 7d27558c4138ac6b3684dea35c2f4379b940a7dd (diff) |
Merge branch 'timers/clocksource' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 7e2e7dd4cd2..2734eca5924 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -109,10 +109,9 @@ int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask) spin_lock_irqsave(&desc->lock, flags); #ifdef CONFIG_GENERIC_PENDING_IRQ - if (desc->status & IRQ_MOVE_PCNTXT || desc->status & IRQ_DISABLED) { - cpumask_copy(desc->affinity, cpumask); + if (desc->status & IRQ_MOVE_PCNTXT) desc->chip->set_affinity(irq, cpumask); - } else { + else { desc->status |= IRQ_MOVE_PENDING; cpumask_copy(desc->pending_mask, cpumask); } |