[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb-linux.c: #define __user to work around brok
Re: [Qemu-devel] [PATCH] usb-linux.c: #define __user to work around broken Linux headers
Thu, 28 Aug 2008 22:41:14 +0200
Anthony Liguori wrote:
> Ian Jackson wrote:
>> Really we would like to #include <linux/compiler.h> but according
>> to changelogs in xen-unstable, at least FC6R3 doesn't have it.
>> So instead we do this: we #define __user ourselves, which is
>> what <linux/compiler.h> does on systems which are not broken.
>> (This change is identical to xen-unstable
>> and qemu-xen 1f153e0706851b43bb5c2083e531fd7b64b75be1.)
> This was applied at one point in time, but then reverted IIRC. I think
> Fabrice objected?
It was rejected because distros should fix their broken headers instead.