lkml.org 
[lkml]   [2016]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v05 56/72] include/uapi/xen/evtchn.h: include xen/privcmd.h
    Date
    It has definition of domid_t. Fixes userspace compiler error when
    xen/privcmd.h is compiled alone:

    xen/evtchn.h:100:2: error: unknown type name ‘domid_t’
    domid_t domid;
    ^~~~~~~

    Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
    ---
    include/uapi/xen/evtchn.h | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/include/uapi/xen/evtchn.h b/include/uapi/xen/evtchn.h
    index cb4aa4b..81df4b3 100644
    --- a/include/uapi/xen/evtchn.h
    +++ b/include/uapi/xen/evtchn.h
    @@ -33,6 +33,8 @@
    #ifndef __LINUX_PUBLIC_EVTCHN_H__
    #define __LINUX_PUBLIC_EVTCHN_H__

    +#include <xen/privcmd.h>
    +
    /*
    * Bind a fresh port to VIRQ @virq.
    * Return allocated port.
    --
    2.8.1
    \
     
     \ /
      Last update: 2016-09-17 09:57    [W:4.069 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site