Include lowlevellock.h.
authordrepper <drepper>
Fri, 3 Aug 2007 15:46:05 +0000 (15:46 +0000)
committerdrepper <drepper>
Fri, 3 Aug 2007 15:46:05 +0000 (15:46 +0000)
(SYS_futex, FUTEX_WAIT, FUTEX_WAKE, FUTEX_PRIVATE_FLAG): Remove.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Include
lowlevellock.h.
(SYS_futex, FUTEX_WAIT, FUTEX_WAKE, FUTEX_PRIVATE_FLAG): Remove.
(__pthread_rwlock_rdlock): Use __lll_{lock,unlock}_* instead of
__lll_mutex_{lock,unlock}_*.

nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S

index 3d694d8..4399075 100644 (file)
 #include <unwindbuf.h>
 #include <sysdep.h>
 #include <kernel-features.h>
+#include <lowlevellock.h>
 #include "lowlevel-atomic.h"
 
-#define SYS_futex              240
-#define FUTEX_WAIT             0
-#define FUTEX_WAKE             1
-#define FUTEX_PRIVATE_FLAG     128
 
        .comm   __fork_generation, 4, 4