summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-03-07 15:50:28 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-06 10:07:36 -0500
commit76ec8d64ce50acc8a159740b08a721b7259f9ae7 (patch)
treec403422a5901cffddf4aee6799706866de967f8d /drivers
parent3f70fa828249e3f37883be98f5b4d08e947f55b0 (diff)
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 <wei.liu2@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/events.c3
1 files changed, 1 insertions, 2 deletions
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);