summaryrefslogtreecommitdiff
path: root/arch/alpha/kernel/irq.c
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2009-01-12 15:27:13 -0800
committerMike Travis <travis@sgi.com>2009-01-12 15:27:13 -0800
commite65e49d0f3714f4a6a42f6f6a19926ba33fcda75 (patch)
tree8b805b51f41c980ceb79f8fad0e56dac428c7c37 /arch/alpha/kernel/irq.c
parent28e08861b9afab4168b758fb7b95aa7a4da0f668 (diff)
irq: update all arches for new irq_desc
Impact: cleanup, update to new cpumask API Irq_desc.affinity and irq_desc.pending_mask are now cpumask_var_t's so access to them should be using the new cpumask API. Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/alpha/kernel/irq.c')
-rw-r--r--arch/alpha/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c
index 703731accda6..7bc7489223f3 100644
--- a/arch/alpha/kernel/irq.c
+++ b/arch/alpha/kernel/irq.c
@@ -55,7 +55,7 @@ int irq_select_affinity(unsigned int irq)
cpu = (cpu < (NR_CPUS-1) ? cpu + 1 : 0);
last_cpu = cpu;
- irq_desc[irq].affinity = cpumask_of_cpu(cpu);
+ cpumask_copy(irq_desc[irq].affinity, cpumask_of(cpu));
irq_desc[irq].chip->set_affinity(irq, cpumask_of(cpu));
return 0;
}