aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/events.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 2924faa7f6c4..6c8193046e0d 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -583,7 +583,7 @@ void rebind_evtchn_irq(int evtchn, int irq)
583 spin_unlock(&irq_mapping_update_lock); 583 spin_unlock(&irq_mapping_update_lock);
584 584
585 /* new event channels are always bound to cpu 0 */ 585 /* new event channels are always bound to cpu 0 */
586 irq_set_affinity(irq, cpumask_of_cpu(0)); 586 irq_set_affinity(irq, cpumask_of(0));
587 587
588 /* Unmask the event channel. */ 588 /* Unmask the event channel. */
589 enable_irq(irq); 589 enable_irq(irq);
@@ -612,9 +612,9 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu)
612} 612}
613 613
614 614
615static void set_affinity_irq(unsigned irq, cpumask_t dest) 615static void set_affinity_irq(unsigned irq, const struct cpumask *dest)
616{ 616{
617 unsigned tcpu = first_cpu(dest); 617 unsigned tcpu = cpumask_first(dest);
618 rebind_irq_to_cpu(irq, tcpu); 618 rebind_irq_to_cpu(irq, tcpu);
619} 619}
620 620