Skip to contentSkip to conversation

oldsemaphore fixup for hppa (4/3?)

PATCH In review Carlos O'Donell 1 participant 3 messages Oct 10, 2003 – Oct 12, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>

* linuxthreads/oldsemaphore.c: sem_spinlock in struct old_sem_t
is an __atomic_lock_t.

linuxthreads/oldsemaphore.c +1 -1
@@ -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);
#1 lore raw
Quoted 8 lines · Carlos O'Donell

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.

Quoted 8 lines

Cheers,
Carlos
===

2003-10-10 Carlos O'Donell <[email protected]>

* linuxthreads/oldsemaphore.c: sem_spinlock in struct old_sem_t
is an __atomic_lock_t.

Patch has been moved into (1/3, Round 2).

c.

#2 lore raw
In reply to Carlos O'Donell
Quoted 8 lines · Carlos O'Donell

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.

Quoted 8 lines

Cheers,
Carlos
===

2003-10-10 Carlos O'Donell <[email protected]>

* linuxthreads/oldsemaphore.c: sem_spinlock in struct old_sem_t
is an __atomic_lock_t.

Patch has been moved into (1/3, Round 2).

c.