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]

[PATCH] oldsemaphore fixup for hppa (4/3?)


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  <carlos@baldric.uwo.ca>

	* 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);


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