about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/tile/kernel-features.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e0717516d9..85f0bacc3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
+
+	* sysdeps/unix/sysv/linux/tile/kernel-features.h
+	(__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
+
 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
 
 	* bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
diff --git a/sysdeps/unix/sysv/linux/tile/kernel-features.h b/sysdeps/unix/sysv/linux/tile/kernel-features.h
index 7511f7770a..9425e1c5e5 100644
--- a/sysdeps/unix/sysv/linux/tile/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/tile/kernel-features.h
@@ -21,4 +21,6 @@
 
 /* Define this if your 32-bit syscall API requires 64-bit register
    pairs to start with an even-number register.  */
-#define __ASSUME_ALIGNED_REGISTER_PAIRS	1
+#ifndef _LP64
+# define __ASSUME_ALIGNED_REGISTER_PAIRS	1
+#endif