diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2014-12-11 14:05:53 +0100 |
---|---|---|
committer | Koen Kooi <koen.kooi@linaro.org> | 2014-12-11 14:06:36 +0100 |
commit | a628df7e1e8e6767c6168e32398b902af4d58cc6 (patch) | |
tree | a2609d2e433657b8d871a3193c0b913d3963d93a /meta-aarch64/recipes-kernel/linux-libc-headers/linux-libc-headers/0009-ARM64-ILP32-Use-the-same-syscall-names-as-LP64.patch | |
parent | 5fe176f4014ac30860e00db2d61214a1ef559e89 (diff) |
linux-libc-headers 3.18: add ILP32 patches
Change-Id: Ibd6b7f143012e3d649bf91f16c1c9f919472df98
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Diffstat (limited to 'meta-aarch64/recipes-kernel/linux-libc-headers/linux-libc-headers/0009-ARM64-ILP32-Use-the-same-syscall-names-as-LP64.patch')
-rw-r--r-- | meta-aarch64/recipes-kernel/linux-libc-headers/linux-libc-headers/0009-ARM64-ILP32-Use-the-same-syscall-names-as-LP64.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-aarch64/recipes-kernel/linux-libc-headers/linux-libc-headers/0009-ARM64-ILP32-Use-the-same-syscall-names-as-LP64.patch b/meta-aarch64/recipes-kernel/linux-libc-headers/linux-libc-headers/0009-ARM64-ILP32-Use-the-same-syscall-names-as-LP64.patch new file mode 100644 index 00000000..180e841e --- /dev/null +++ b/meta-aarch64/recipes-kernel/linux-libc-headers/linux-libc-headers/0009-ARM64-ILP32-Use-the-same-syscall-names-as-LP64.patch @@ -0,0 +1,30 @@ +From ed722513a020c655797eb855c2d6ccf525d1c10c Mon Sep 17 00:00:00 2001 +From: Andrew Pinski <apinski@cavium.com> +Date: Wed, 3 Sep 2014 14:19:03 -0700 +Subject: [PATCH 09/25] ARM64:ILP32: Use the same syscall names as LP64 + +Define __SYSCALL_NONCOMPAT so we use the 64bit naming scheme for ILP32. + +Signed-off-by: Andrew Pinski <apinski@cavium.com> +--- + arch/arm64/include/uapi/asm/unistd.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/arch/arm64/include/uapi/asm/unistd.h b/arch/arm64/include/uapi/asm/unistd.h +index 1caadc2..13cbf8d 100644 +--- a/arch/arm64/include/uapi/asm/unistd.h ++++ b/arch/arm64/include/uapi/asm/unistd.h +@@ -13,4 +13,10 @@ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ ++ ++/* For ILP32, we want to use the non compat names. */ ++#if defined(__ILP32__) ++#define __ARCH_WANT_64BIT_SYSCALLS ++#endif ++ + #include <asm-generic/unistd.h> +-- +1.9.3 + |