Skip to content

Commit

Permalink
parisc: iosapic: fix build breakage
Browse files Browse the repository at this point in the history
drivers/parisc/iosapic.c:717: error: incompatible types in assignment

irq_desc::affinity was changed from cpumask_t to cpumask_var_t in
7f7ace0 (cpumask: update irq_desc to use cpumask_var_t)

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
  • Loading branch information
Alexander Beregalov authored and Kyle McMartin committed Mar 31, 2009
1 parent c48faf8 commit 2d6d79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/parisc/iosapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ static void iosapic_set_affinity_irq(unsigned int irq,
if (dest_cpu < 0)
return;

irq_desc[irq].affinity = cpumask_of_cpu(dest_cpu);
cpumask_copy(irq_desc[irq].affinity, cpumask_of(dest_cpu));
vi->txn_addr = txn_affinity_addr(irq, dest_cpu);

spin_lock_irqsave(&iosapic_lock, flags);
Expand Down

0 comments on commit 2d6d79b

Please sign in to comment.