This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
RE: Correct robust mutex / PI futex kernel assumptions (bug 9894)
- From: David Holsgrove <david dot holsgrove at xilinx dot com>
- To: "joseph at codesourcery dot com" <joseph at codesourcery dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, "schwab at linux-m68k dot org" <schwab at linux-m68k dot org>, "aurel32 at debian dot org" <aurel32 at debian dot org>, David Miller <davem at davemloft dot net>
- Date: Mon, 31 Mar 2014 01:20:23 +0000
- Subject: RE: Correct robust mutex / PI futex kernel assumptions (bug 9894)
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1403252318590 dot 10779 at digraph dot polyomino dot org dot uk> <20140325 dot 192428 dot 254241380718352578 dot davem at davemloft dot net> <Pine dot LNX dot 4 dot 64 dot 1403252334530 dot 10779 at digraph dot polyomino dot org dot uk> <20140325 dot 202121 dot 757496122115315290 dot davem at davemloft dot net>
> -----Original Message-----
> From: David Miller [mailto:davem@davemloft.net]
> Sent: Wednesday, 26 March 2014 10:21 am
> To: joseph@codesourcery.com
> Cc: libc-alpha@sourceware.org; schwab@linux-m68k.org; David Holsgrove;
> aurel32@debian.org
> Subject: 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.
Good for MicroBlaze too - thanks Joseph,
David