PARISC: iosapic: fix build breakage
Subsystems (2)
PATCH 2/2 PARISC: iosapic: fix build breakage
drivers/parisc/iosapic.c:717: error: incompatible types in assignment
irq_desc::affinity was changed from cpumask_t to cpumask_var_t in 7f7ace0cda (cpumask: update irq_desc to use cpumask_var_t)
Signed-off-by Alexander Beregalov <[email protected]>
---
drivers/parisc/iosapic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/parisc/iosapic.c +1 -1
@@ -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);
2009/3/20 Alexander Beregalov <[email protected]>:
Quoted 6 lines
drivers/parisc/iosapic.c:717: error: incompatible types in assignment
irq_desc::affinitywas changed fromcpumask_ttocpumask_var_tin7f7ace0cda(cpumask: updateirq_descto usecpumask_var_t)Signed-off-by Alexander Beregalov <[email protected]>
Could anybody please comment it?
Current -git does not build on parisc.
Quoted 19 lines
---
drivers/parisc/iosapic.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)drivers/parisc/iosapic.c +1
-1@@ -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);