direct-io.hg

changeset 4538:183c37ca35e8

bitkeeper revision 1.1159.258.96 (426020fdvI1TOBH3k_tSkViH1At7WA)

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
author iap10@freefall.cl.cam.ac.uk
date Fri Apr 15 20:15:57 2005 +0000 (2005-04-15)
parents 8c272f9d3213
children 3b1865796b88
files linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h	Fri Apr 15 20:12:00 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h	Fri Apr 15 20:15:57 2005 +0000
     1.3 @@ -81,12 +81,12 @@ static inline void clear_evtchn(int port
     1.4      synch_clear_bit(port, &s->evtchn_pending[0]);
     1.5  }
     1.6  
     1.7 -static inline void notify_via_evtchn(int port)
     1.8 +static inline int notify_via_evtchn(int port)
     1.9  {
    1.10      evtchn_op_t op;
    1.11      op.cmd = EVTCHNOP_send;
    1.12      op.u.send.local_port = port;
    1.13 -    (void)HYPERVISOR_event_channel_op(&op);
    1.14 +    return HYPERVISOR_event_channel_op(&op);
    1.15  }
    1.16  
    1.17  /*