From: Jeremy Fitzhardinge Date: Tue, 16 Nov 2010 22:56:47 +0000 (-0800) Subject: xen/events: use locked set|clear_bit() for cpu_evtchn_mask X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e04195644eea7c6c14007922257704ec67156cd1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git xen/events: use locked set|clear_bit() for cpu_evtchn_mask The per-cpu event channel masks can be updated unlocked from multiple CPUs, so use the locked variant. Signed-off-by: Jeremy Fitzhardinge --- diff --git a/drivers/xen/events.c b/drivers/xen/events.c index d770b8c8885b..d6d4f76ed500 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -278,8 +278,8 @@ static void bind_evtchn_to_cpu(unsigned int chn, unsigned int cpu) cpumask_copy(irq_to_desc(irq)->affinity, cpumask_of(cpu)); #endif - __clear_bit(chn, cpu_evtchn_mask(cpu_from_irq(irq))); - __set_bit(chn, cpu_evtchn_mask(cpu)); + clear_bit(chn, cpu_evtchn_mask(cpu_from_irq(irq))); + set_bit(chn, cpu_evtchn_mask(cpu)); irq_info[irq].cpu = cpu; }