X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fxen%2Fevents.c;h=eb0dfdeaa9494ac3043f13db5cbd1bf0c0dd5751;hb=b840d79631c882786925303c2b0f4fefc31845ed;hp=e26733a9df21d5ca583ad09bea26dfea909873da;hpb=597b0d21626da4e6f09f132442caf0cc2b0eb47c;p=linux-2.6-omap-h63xx.git diff --git a/drivers/xen/events.c b/drivers/xen/events.c index e26733a9df2..eb0dfdeaa94 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -585,7 +585,7 @@ void rebind_evtchn_irq(int evtchn, int irq) spin_unlock(&irq_mapping_update_lock); /* new event channels are always bound to cpu 0 */ - irq_set_affinity(irq, cpumask_of_cpu(0)); + irq_set_affinity(irq, cpumask_of(0)); /* Unmask the event channel. */ enable_irq(irq); @@ -614,9 +614,9 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu) } -static void set_affinity_irq(unsigned irq, cpumask_t dest) +static void set_affinity_irq(unsigned irq, const struct cpumask *dest) { - unsigned tcpu = first_cpu(dest); + unsigned tcpu = cpumask_first(dest); rebind_irq_to_cpu(irq, tcpu); }