summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 14:44:06 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 14:44:06 +0000
commit73d3a7edff980d3a22df83a4947a0c4f062c2989 (patch)
tree938df688971e21338d8bc8dd95a27b3956ef1014 /libgomp
parent6daa9793b1ef371660af587a47708dac64fc10e6 (diff)
downloadgcc-73d3a7edff980d3a22df83a4947a0c4f062c2989.tar.gz
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__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libgomp/config/linux/x86/futex.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 292d58a570b..efd0c04c71b 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -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
diff --git a/libgomp/config/linux/x86/futex.h b/libgomp/config/linux/x86/futex.h
index cb7461d89e6..419f4d981c6 100644
--- a/libgomp/config/linux/x86/futex.h
+++ b/libgomp/config/linux/x86/futex.h
@@ -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)