Re: [PATCH 17/21] Remove #define __user in usb-linux.c

Anthony Liguori
2009-04-30T13:11:17Z

Avi Kivity wrote:
> Anthony Liguori wrote:
>> This has been consistently nacked in upstream QEMU.
>>
>> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
>> ---
>> usb-linux.c | 4 ----
>> 1 files changed, 0 insertions(+), 4 deletions(-)
>>
>> diff --git a/usb-linux.c b/usb-linux.c
>> index 26643bd..70d7a1c 100644
>> --- a/usb-linux.c
>> +++ b/usb-linux.c
>> @@ -34,10 +34,6 @@
>> #include "qemu-timer.h"
>> #include "monitor.h"
>>
>> -#if defined(__linux__)
>> -#define __user
>> -#endif
>> -
>>
>
> This will introduce a regression into qemu-kvm.git.

It won't because -D__user is in CFLAGS.

--
Regards,

Anthony Liguori