Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexander Beregalov and committed by
Kyle McMartin
2d6d79bb c48faf86

+1 -1
+1 -1
drivers/parisc/iosapic.c
··· 714 714 if (dest_cpu < 0) 715 715 return; 716 716 717 - irq_desc[irq].affinity = cpumask_of_cpu(dest_cpu); 717 + cpumask_copy(irq_desc[irq].affinity, cpumask_of(dest_cpu)); 718 718 vi->txn_addr = txn_affinity_addr(irq, dest_cpu); 719 719 720 720 spin_lock_irqsave(&iosapic_lock, flags);