Message ID | 20110218022144.GA11947@intel.com |
---|---|
State | New |
Headers | show |
diff --git a/libgomp/ChangeLog.x32 b/libgomp/ChangeLog.x32 new file mode 100644 index 0000000..f0d2b59 --- /dev/null +++ b/libgomp/ChangeLog.x32 @@ -0,0 +1,4 @@ +2011-02-17 H.J. Lu <hongjiu.lu@intel.com> + + * config/linux/x86/futex.h: Check __x86_64__ instead of + __LP64__. diff --git a/libgomp/config/linux/x86/futex.h b/libgomp/config/linux/x86/futex.h index cb7461d..419f4d9 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)