|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] minios: let events get mixed
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210087741 -3600
# Node ID 9d84c12de877e7c90a1b4b1c4b53bfa55bf0d432
# Parent cc953475ab149a61defff06de237295a7feb882d
minios: let events get mixed
since events do not need to be counted
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/libxc/xc_minios.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r cc953475ab14 -r 9d84c12de877 tools/libxc/xc_minios.c
--- a/tools/libxc/xc_minios.c Tue May 06 16:20:54 2008 +0100
+++ b/tools/libxc/xc_minios.c Tue May 06 16:29:01 2008 +0100
@@ -178,7 +178,7 @@ static void evtchn_handler(evtchn_port_t
printk("Unknown port for handle %d\n", xce_handle);
return;
}
- files[xce_handle].evtchn.ports[i].pending++;
+ files[xce_handle].evtchn.ports[i].pending = 1;
files[xce_handle].read = 1;
wake_up(&event_queue);
}
@@ -278,7 +278,7 @@ evtchn_port_or_error_t xc_evtchn_pending
for (i = 0; i < MAX_EVTCHN_PORTS; i++) {
evtchn_port_t port = files[xce_handle].evtchn.ports[i].port;
if (port != -1 && files[xce_handle].evtchn.ports[i].pending) {
- files[xce_handle].evtchn.ports[i].pending--;
+ files[xce_handle].evtchn.ports[i].pending = 0;
local_irq_restore(flags);
return port;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] minios: let events get mixed,
Xen patchbot-unstable <=
|
|
|
|
|