This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Correct robust mutex / PI futex kernel assumptions (bug 9894)


From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Tue, 25 Mar 2014 23:36:36 +0000

> On Tue, 25 Mar 2014, David Miller wrote:
> 
>> From: "Joseph S. Myers" <joseph@codesourcery.com>
>> Date: Tue, 25 Mar 2014 23:20:00 +0000
>> 
>> > On Tue, 25 Mar 2014, David Miller wrote:
>> > 
>> >> Actually, it turns out you can simply test for the CPP macro __sparc_v9__
>> > 
>> > In that case, here is a revised patch using __sparc_v9__ in place of 
>> > __arch64__.
>> 
>> It only get's set for 32-bit v9, you'll need to keep the
>> (__sparc__ && __arch64__) in an "||" conditional branch.
>> 
>> Something like (__sparc__ && (__arch64__ || __sparc_v9__))
> 
> Here's a third patch version.

Looks good to me.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]