WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Below is the patch that returns an 'int' from the notify

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Below is the patch that returns an 'int' from the notify_via_evtchn()
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Fri, 15 Apr 2005 20:15:57 +0000
Delivery-date: Fri, 15 Apr 2005 23:04:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1830, 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: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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>