mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 02:36:21 +00:00
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 <a.beregalov@gmail.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
This commit is contained in:
parent
c48faf86b0
commit
2d6d79bbe5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user