diff options
author | Torvald Riegel <triegel@redhat.com> | 2014-12-17 18:55:19 +0100 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2014-12-19 15:21:12 +0100 |
commit | 76f71081cd3fe355b9c18d1fc5e87643c788cfac (patch) | |
tree | fccedda3b0fee9b1972f76707358201961308190 /sysdeps/unix/sysv/linux/lowlevellock-futex.h | |
parent | 6b814909b41476ad594547b5f2289889a39cc0dd (diff) | |
download | glibc-76f71081cd3fe355b9c18d1fc5e87643c788cfac.tar.gz glibc-76f71081cd3fe355b9c18d1fc5e87643c788cfac.tar.xz glibc-76f71081cd3fe355b9c18d1fc5e87643c788cfac.zip |
Use generic lowlevellock-futex.h in x86_64 lowlevellock.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/lowlevellock-futex.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/lowlevellock-futex.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/lowlevellock-futex.h b/sysdeps/unix/sysv/linux/lowlevellock-futex.h index 8927661544..907b4c7e1d 100644 --- a/sysdeps/unix/sysv/linux/lowlevellock-futex.h +++ b/sysdeps/unix/sysv/linux/lowlevellock-futex.h @@ -19,10 +19,11 @@ #ifndef _LOWLEVELLOCK_FUTEX_H #define _LOWLEVELLOCK_FUTEX_H 1 +#ifndef __ASSEMBLER__ #include <sysdep.h> #include <tls.h> #include <kernel-features.h> - +#endif #define FUTEX_WAIT 0 #define FUTEX_WAKE 1 @@ -48,6 +49,7 @@ #define LLL_PRIVATE 0 #define LLL_SHARED FUTEX_PRIVATE_FLAG +#ifndef __ASSEMBLER__ #if IS_IN (libc) || IS_IN (rtld) /* In libc.so or ld.so all futexes are private. */ @@ -133,5 +135,6 @@ private), \ nr_wake, nr_move, mutex, val) +#endif /* !__ASSEMBLER__ */ #endif /* lowlevellock-futex.h */ |