Check __x86_64__ instead of __LP64__ for x86 futex.
2011-08-02 H.J. Lu <hongjiu.lu@intel.com> * config/linux/x86/futex.h: Check __x86_64__ instead of __LP64__. From-SVN: r177166
This commit is contained in:
parent
ab027d2814
commit
c01ecafca3
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/linux/x86/futex.h: Check __x86_64__ instead of
|
||||
__LP64__.
|
||||
|
||||
2011-07-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/49897
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
/* Provide target-specific access to the futex system call. */
|
||||
|
||||
#ifdef __LP64__
|
||||
#ifdef __x86_64__
|
||||
# ifndef SYS_futex
|
||||
# define SYS_futex 202
|
||||
# endif
|
||||
|
@ -138,7 +138,7 @@ futex_wake (int *addr, int count)
|
|||
}
|
||||
}
|
||||
|
||||
#endif /* __LP64__ */
|
||||
#endif /* __x86_64__ */
|
||||
|
||||
static inline void
|
||||
cpu_relax (void)
|
||||
|
|
Loading…
Add table
Reference in a new issue