qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/5] linux-user: move ppc socket.h definitions t


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH 4/5] linux-user: move ppc socket.h definitions to ppc/sockbits.h
Date: Fri, 11 May 2018 18:53:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Le 11/05/2018 à 14:12, Peter Maydell a écrit :
> On 10 May 2018 at 23:26, Laurent Vivier <address@hidden> wrote:
>> No code change.
>>
>> Signed-off-by: Laurent Vivier <address@hidden>
>> ---
>> --- a/linux-user/socket.h
>> +++ b/linux-user/socket.h
>> @@ -1,6 +1,6 @@
>>
>>  #if defined(TARGET_MIPS) || defined(TARGET_HPPA) || defined(TARGET_ALPHA) 
>> || \
>> -    defined(TARGET_SPARC)
>> +    defined(TARGET_SPARC) || defined(TARGET_PPC)
>>  #include "sockbits.h"
>>  #else
> 
> Follow-on cleanup: rather than having this long list of target ifdefs,
> we should just have every target supply a sockbits.h (perhaps deferring
> to a generic set of values the way that lots of archs use the asm-generic
> versions).

I agree.

Laurent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]