arm64: Add __NR_* definitions for compat syscalls
authorJP Abgrall <jpa@google.com>
Thu, 18 Sep 2014 00:59:28 +0000 (17:59 -0700)
committerJP Abgrall <jpa@google.com>
Thu, 18 Sep 2014 00:59:28 +0000 (17:59 -0700)
commitcfc7e99e9e3900056028a7d90072e9ea0d886f8d
tree6a77f2fbaf3a91c0071e41f771a4d9d20cb81305
parent26108f2dc78941405736a7ab424d15f04b3d1ec3
arm64: Add __NR_* definitions for compat syscalls

This patch adds __NR_* definitions to asm/unistd32.h, moves the
__NR_compat_* definitions to asm/unistd.h and removes all the explicit
unistd32.h includes apart from the one building the compat syscall
table. The aim is to have the compat __NR_* definitions available but
without colliding with the native syscall definitions (required by
lib/compat_audit.c to avoid duplicating the audit header files between
native and compat).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Conflicts:
arch/arm64/include/asm/unistd32.h
arch/arm64/kernel/kuser32.S

Change-Id: I8776881b5beb39769aadc4c4f14a51ea54325112
arch/arm64/include/asm/unistd.h
arch/arm64/include/asm/unistd32.h
arch/arm64/kernel/entry.S
arch/arm64/kernel/kuser32.S
arch/arm64/kernel/signal32.c
arch/arm64/kernel/sys_compat.c