From: Wei Liu Date: Thu, 7 Mar 2013 15:50:28 +0000 (+0000) Subject: xen/events: replace raw bit ops with functions X-Git-Tag: next-20140106~22^2^2^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=35178be09fae14d8d08364aa55b5a35d3d1eb898;p=karo-tx-linux.git xen/events: replace raw bit ops with functions In preparation for adding event channel port ops, use set_evtchn() instead of sync_set_bit(). Signed-off-by: Wei Liu Signed-off-by: David Vrabel Reviewed-by: Konrad Rzeszutek Wilk Reviewed-by: Boris Ostrovsky --- diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 359e983d97e4..fec5da4ff3a0 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -1548,13 +1548,12 @@ static int set_affinity_irq(struct irq_data *data, const struct cpumask *dest, static int retrigger_evtchn(int evtchn) { int masked; - struct shared_info *s = HYPERVISOR_shared_info; if (!VALID_EVTCHN(evtchn)) return 0; masked = test_and_set_mask(evtchn); - sync_set_bit(evtchn, BM(s->evtchn_pending)); + set_evtchn(evtchn); if (!masked) unmask_evtchn(evtchn);