[parisc-linux-cvs] glibc willy

Matthew Wilcox willy@puffin.external.hp.com
Sat, 28 Apr 2001 21:58:15 -0600


CVSROOT:	/home/cvs/parisc
Module name:	glibc
Changes by:	willy	01/04/28 21:58:15

Modified files:
	linuxthreads   : Tag: merge_GLIBC_CVS_20010424 internals.h 
	                 manager.c oldsemaphore.c pt-machine.c 
	                 spinlock.c spinlock.h 
	linuxthreads/sysdeps/alpha: Tag: merge_GLIBC_CVS_20010424 
	                            pt-machine.h 
	linuxthreads/sysdeps/arm: Tag: merge_GLIBC_CVS_20010424 
	                          pt-machine.h 
	linuxthreads/sysdeps/cris: Tag: merge_GLIBC_CVS_20010424 
	                           pt-machine.h 
	linuxthreads/sysdeps/hppa: Tag: merge_GLIBC_CVS_20010424 
	                           pt-machine.h 
	linuxthreads/sysdeps/i386: Tag: merge_GLIBC_CVS_20010424 
	                           pt-machine.h 
	linuxthreads/sysdeps/ia64: Tag: merge_GLIBC_CVS_20010424 
	                           pt-machine.h 
	linuxthreads/sysdeps/m68k: Tag: merge_GLIBC_CVS_20010424 
	                           pt-machine.h 
	linuxthreads/sysdeps/mips: Tag: merge_GLIBC_CVS_20010424 
	                           pt-machine.h 
	linuxthreads/sysdeps/powerpc: Tag: merge_GLIBC_CVS_20010424 
	                              pt-machine.h 
	linuxthreads/sysdeps/pthread/bits: Tag: merge_GLIBC_CVS_20010424 
	                                   initspin.h libc-lock.h 
	                                   pthreadtypes.h 
	linuxthreads/sysdeps/sh: Tag: merge_GLIBC_CVS_20010424 
	                         pt-machine.h 
	linuxthreads/sysdeps/unix/sysv/linux/hppa/bits: Tag: 
	                                                merge_GLIBC_CVS_20010424 
	                                                initspin.h 
	                                                pthreadtypes.h 
	sysdeps/hppa   : Tag: merge_GLIBC_CVS_20010424 dl-fptr.c 
	sysdeps/ia64   : Tag: merge_GLIBC_CVS_20010424 dl-fptr.c 

Log message:
_lt_spinlock_t -> __atomic_lock_t
testandset() -> try_lock()
test() -> lock_held()
lock = _LT_LOCK_INIT -> release_lock(&lock)

remove IMPLEMENTS_TAS_WITH_CAS and replace it by definitions in the one
place which defines it.

use a typedef int for __atomic_lock_t on everything except hppa

define __LOCK_INITIALISER_NOT_ZERO for hppa and use it.