[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 05/12] xen/events: replace raw bit ops with functions



From: Wei Liu <wei.liu2@xxxxxxxxxx>

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
---
 drivers/xen/events.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 88d91d7..db0e97c 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -1489,13 +1489,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);
 
-- 
1.7.2.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.