ia64/xen-unstable

changeset 10371:360f9dc71f51

[HVM] Fix ioemu build with new Linux headers. We must define __user
attribute to nothing.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Jun 13 11:41:15 2006 +0100 (2006-06-13)
parents 833d05bdb4a4
children 942ecf21dc06 ac5e98c1c466
files tools/ioemu/usb-linux.c
line diff
     1.1 --- a/tools/ioemu/usb-linux.c	Tue Jun 13 11:28:20 2006 +0100
     1.2 +++ b/tools/ioemu/usb-linux.c	Tue Jun 13 11:41:15 2006 +0100
     1.3 @@ -26,6 +26,7 @@
     1.4  #if defined(__linux__)
     1.5  #include <dirent.h>
     1.6  #include <sys/ioctl.h>
     1.7 +#define __user /* new versions of usbdevice_fs.h use this private attribute */
     1.8  #include <linux/usbdevice_fs.h>
     1.9  #include <linux/version.h>
    1.10