This is the mail archive of the libc-alpha@sources.redhat.com 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: [PATCH] glibc 2.2.94 - hppa - pthreads support


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos O'Donell wrote:

> diff -urN libc/linuxthreads/oldsemaphore.c libc/linuxthreads/oldsemaphore.c
> --- libc/linuxthreads/oldsemaphore.c	Wed Nov 14 09:47:09 2001
> +++ libc/linuxthreads/oldsemaphore.c	Wed Nov 14 09:43:58 2001
> @@ -73,7 +73,7 @@
>  	errno = ENOSYS;
>  	return -1;
>      }
> -  sem->sem_spinlock = __LT_SPINLOCK_INIT;
> +  sem->sem_spinlock = __ATOMIC_LOCK_INIT;
>    sem->sem_status = ((long)value << 1) + 1;
>    return 0;

This part and all that are similar are bogus.

__LT_SPINLOCK_INIT was introduced explicitly for PA.  EIther you
misunderstoof this or you're deliberately renaming something.  The
latter will not happen.  Only the absolute minimum of changes is going in.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9kUsG2ijCOnn/RHQRAp4cAJ9ERlx29P0vchVF4Lt18wsQMldRBQCdGf0n
4yy230f3U10SjFxjSaMLM7o=
=1+jD
-----END PGP SIGNATURE-----


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