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

[Xen-devel] [PATCH 06/13] xen: replace raw bit ops with functions



Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 drivers/xen/events.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 0fae3f9..0679d27 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -1471,7 +1471,7 @@ int resend_irq_on_evtchn(unsigned int irq)
                return 1;
 
        masked = test_and_set_mask(evtchn);
-       sync_set_bit(evtchn, s->evtchn_pending);
+       set_evtchn(evtchn);
        if (!masked)
                unmask_evtchn(evtchn);
 
@@ -1520,7 +1520,7 @@ static int retrigger_dynirq(struct irq_data *data)
                int masked;
 
                masked = test_and_set_mask(evtchn);
-               sync_set_bit(evtchn, sh->evtchn_pending);
+               set_evtchn(evtchn);
                if (!masked)
                        unmask_evtchn(evtchn);
                ret = 1;
-- 
1.7.10.4


_______________________________________________
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®.