[parisc-linux-cvs] lock alignment problem in glibc

Matthew Wilcox matthew@wil.cx
Sat, 17 Mar 2001 05:07:45 +0000


On Sat, Mar 17, 2001 at 12:49:45PM +1100, Alan Modra wrote:
> On Sat, 17 Mar 2001, Matthew Wilcox wrote:
> 
> > Why don't we have...
> > 
> > typedef int lock __attribute__ ((aligned (16)));
> 
> Good idea.  s/lock/parisc_lock/ might save some name clashes.

Oh, hey, whaddya know?

sysdeps/mach/hppa/machine-lock.h:typedef __volatile int __spin_lock_t __attribut
e__ ((__aligned__ (16)));

so this is about to become __spin_lock_t.

-- 
Revolutions do not require corporate support.