From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from baldric (baldric.uwo.ca [129.100.10.225]) by dsl2.external.hp.com (Postfix) with ESMTP id 73267484E for ; Fri, 10 Oct 2003 15:07:56 -0600 (MDT) Date: Fri, 10 Oct 2003 17:04:38 -0400 From: Carlos O'Donell To: libc-alpha , parisc-linux@lists.parisc-linux.org Message-ID: <20031010210438.GI6454@systemhalted> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [parisc-linux] [PATCH] oldsemaphore fixup for hppa (4/3?) Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: libc-alpha, Wrote up the changelogs, reviewed them, and then forgot I had a small patch to commit for oldsemaphore. This goes in with the first patch 1/3 that defines the generic libc changes required for linuxthreads to work on HPPA. Cheers, Carlos === 2003-10-10 Carlos O'Donell * linuxthreads/oldsemaphore.c: sem_spinlock in struct old_sem_t is an __atomic_lock_t. --- libc/linuxthreads/oldsemaphore.c 25 May 2001 07:38:39 -0000 1.11 +++ libc/linuxthreads/oldsemaphore.c 21 Apr 2003 23:53:24 -0000 @@ -31,7 +31,7 @@ typedef struct { long int sem_status; - int sem_spinlock; + __atomic_lock_t sem_spinlock; } old_sem_t; extern int __old_sem_init (old_sem_t *__sem, int __pshared, unsigned int __value);