Mailing List Archive

Below is the patch that returns an 'int' from the notify_via_evtchn()
ChangeSet 1.1159.256.96, 2005/04/15 21:15:57+01:00, iap10@freefall.cl.cam.ac.uk

Below is the patch that returns an 'int' from the notify_via_evtchn()
call.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: ian@xensource.com




evtchn.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h b/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h
--- a/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h 2005-04-15 19:02:21 -04:00
+++ b/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h 2005-04-15 19:02:21 -04:00
@@ -81,12 +81,12 @@
synch_clear_bit(port, &s->evtchn_pending[0]);
}

-static inline void notify_via_evtchn(int port)
+static inline int notify_via_evtchn(int port)
{
evtchn_op_t op;
op.cmd = EVTCHNOP_send;
op.u.send.local_port = port;
- (void)HYPERVISOR_event_channel_op(&op);
+ return HYPERVISOR_event_channel_op(&op);
}

/*

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog
Below is the patch that returns an 'int' from the notify_via_evtchn() [ In reply to ]
ChangeSet 1.1830, 2005/04/15 21:15:57+01:00, iap10@freefall.cl.cam.ac.uk

Below is the patch that returns an 'int' from the notify_via_evtchn()
call.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: ian@xensource.com




evtchn.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h b/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h
--- a/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h 2005-04-15 19:04:58 -04:00
+++ b/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h 2005-04-15 19:04:58 -04:00
@@ -81,12 +81,12 @@
synch_clear_bit(port, &s->evtchn_pending[0]);
}

-static inline void notify_via_evtchn(int port)
+static inline int notify_via_evtchn(int port)
{
evtchn_op_t op;
op.cmd = EVTCHNOP_send;
op.u.send.local_port = port;
- (void)HYPERVISOR_event_channel_op(&op);
+ return HYPERVISOR_event_channel_op(&op);
}

/*

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog