Commit c01ecafc by H.J. Lu Committed by H.J. Lu

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
parent ab027d28
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> 2011-07-29 Jakub Jelinek <jakub@redhat.com>
PR middle-end/49897 PR middle-end/49897
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
/* Provide target-specific access to the futex system call. */ /* Provide target-specific access to the futex system call. */
#ifdef __LP64__ #ifdef __x86_64__
# ifndef SYS_futex # ifndef SYS_futex
# define SYS_futex 202 # define SYS_futex 202
# endif # endif
...@@ -138,7 +138,7 @@ futex_wake (int *addr, int count) ...@@ -138,7 +138,7 @@ futex_wake (int *addr, int count)
} }
} }
#endif /* __LP64__ */ #endif /* __x86_64__ */
static inline void static inline void
cpu_relax (void) cpu_relax (void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment