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:
H.J. Lu 2011-08-02 14:44:06 +00:00 committed by H.J. Lu
parent ab027d2814
commit c01ecafca3
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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)