diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-14 12:13:45 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-14 12:13:45 +0100 |
commit | e46d51787e23a607cac5f593ac9926743a636dff (patch) | |
tree | 4efb93f31c6eacb8fcbaa137acf894ea8d309e0e /arch/sparc | |
parent | a4a0acf8e17e3d08e28b721ceceb898fbc959ceb (diff) | |
parent | 4a046d1754ee6ebb6f399696805ed61ea0444d4c (diff) | |
download | linux-e46d51787e23a607cac5f593ac9926743a636dff.tar.gz linux-e46d51787e23a607cac5f593ac9926743a636dff.tar.bz2 linux-e46d51787e23a607cac5f593ac9926743a636dff.zip |
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/travis/linux-2.6-cpus4096-for-ingo into cpus4096
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/irq_64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc/kernel/irq_64.c b/arch/sparc/kernel/irq_64.c index cab8e0286871..4ac5c651e00d 100644 --- a/arch/sparc/kernel/irq_64.c +++ b/arch/sparc/kernel/irq_64.c @@ -247,9 +247,10 @@ struct irq_handler_data { #ifdef CONFIG_SMP static int irq_choose_cpu(unsigned int virt_irq) { - cpumask_t mask = irq_desc[virt_irq].affinity; + cpumask_t mask; int cpuid; + cpumask_copy(&mask, irq_desc[virt_irq].affinity); if (cpus_equal(mask, CPU_MASK_ALL)) { static int irq_rover; static DEFINE_SPINLOCK(irq_rover_lock); @@ -854,7 +855,7 @@ void fixup_irqs(void) !(irq_desc[irq].status & IRQ_PER_CPU)) { if (irq_desc[irq].chip->set_affinity) irq_desc[irq].chip->set_affinity(irq, - &irq_desc[irq].affinity); + irq_desc[irq].affinity); } spin_unlock_irqrestore(&irq_desc[irq].lock, flags); } |