From 41d4d22399119f11bbdfa5d460a7270412029eb7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 Mar 2003 18:37:10 +0000 Subject: 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. --- nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'nptl/sysdeps/unix/sysv/linux/i386') diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h index dbe89e1c7c..8b302c9dc4 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -300,20 +300,6 @@ extern int __lll_timedwait_tid (int *tid, const struct timespec *abstime) __result; }) -#define lll_wake_tid(tid) \ - do { \ - int __ignore; \ - (tid) = 0; \ - __asm __volatile (LLL_TID_EBX_LOAD \ - LLL_TID_ENTER_KERNEL \ - LLL_TID_EBX_LOAD \ - : "=a" (__ignore) \ - : "0" (SYS_futex), LLL_TID_EBX_REG (&(tid)), "S" (0), \ - "c" (FUTEX_WAKE), "d" (0x7fffffff) \ - "i" (offsetof (tcbhead_t, sysinfo))); \ - } while (0) - - /* Conditional variable handling. */ extern void __lll_cond_wait (pthread_cond_t *cond) -- cgit 1.4.1