[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] 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@xxxxxxxxxxxxxxxxxxxxx Below is the patch that returns an 'int' from the notify_via_evtchn() call. Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx> Signed-off-by: ian@xxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |