diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-07 18:37:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-07 18:37:10 +0000 |
commit | 41d4d22399119f11bbdfa5d460a7270412029eb7 (patch) | |
tree | f031af3e9e0fdb59687a534480f69fcc51764a5d /nptl/sysdeps/unix/sysv/linux/sh | |
parent | 0a0ee8be8f5e1caf73f7801b6cfdde56f23a63d5 (diff) | |
download | glibc-41d4d22399119f11bbdfa5d460a7270412029eb7.tar.gz glibc-41d4d22399119f11bbdfa5d460a7270412029eb7.tar.xz glibc-41d4d22399119f11bbdfa5d460a7270412029eb7.zip |
Update.
* sysdeps/i386/i486/bits/atomic.h: Fix a few unused definitions. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove all trace of lll_wake_tid. This was used only to work around kernel limits in the early days. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sh')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S | 19 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S | 21 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h | 8 |
3 files changed, 2 insertions, 46 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S index 350a935388..82b0189404 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S +++ b/nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S @@ -121,7 +121,7 @@ __lll_wait_tid: nop .size __lll_wait_tid,.-__lll_wait_tid - + .globl __lll_timedwait_tid .type __lll_timedwait_tid,@function .hidden __lll_timedwait_tid @@ -202,20 +202,3 @@ __lll_timedwait_tid: .long 1000000000 .size __lll_timedwait_tid,.-__lll_timedwait_tid - - - .globl __lll_wake_tid - .type __lll_wake_tid,@function - .hidden __lll_wake_tid -__lll_wake_tid: - mov #FUTEX_WAKE, r5 - mov #-1, r6 - shlr r6 /* r6 = 0x7fffffff */ - mov #0, r7 - mov #SYS_futex, r3 - extu.b r3, r3 - trapa #0x14 - SYSCALL_INST_PAD - rts - nop - .size __lll_wake_tid,.-__lll_wake_tid diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S index 8352ef0450..ab54ea5234 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S +++ b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S @@ -122,7 +122,7 @@ __lll_wait_tid: nop .size __lll_wait_tid,.-__lll_wait_tid - + .globl __lll_timedwait_tid .type __lll_timedwait_tid,@function .hidden __lll_timedwait_tid @@ -203,22 +203,3 @@ __lll_timedwait_tid: .long 1000000000 .size __lll_timedwait_tid,.-__lll_timedwait_tid - - - .globl __lll_wake_tid - .type __lll_wake_tid,@function - .hidden __lll_wake_tid -__lll_wake_tid: - mov #FUTEX_WAKE, r5 - mov #-1, r6 - shlr r6 /* r6 = 0x7fffffff */ - mov #0, r7 - mov #SYS_futex, r3 - extu.b r3, r3 - trapa #0x14 - SYSCALL_INST_PAD - rts - nop - .size __lll_wake_tid,.-__lll_wake_tid - - diff --git a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h index d9a69c7a48..7e00fd01da 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h @@ -215,14 +215,6 @@ extern int __lll_timedwait_tid (int *tid, const struct timespec *abstime) __result; }) -extern int __lll_wake_tid (int *tid) attribute_hidden; -#define lll_wake_tid(tid) \ - do { \ - (tid) = 0; \ - ___lll_wake_tid (&tid); \ - } while (0) - - /* Conditional variable handling. */ extern void __lll_cond_wait (pthread_cond_t *cond) attribute_hidden; |