arm64: Add __NR_* definitions for compat syscalls
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 30 Jan 2014 17:56:56 +0000 (17:56 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 10 Jul 2014 10:02:40 +0000 (11:02 +0100)
commitf3e5c847ec3d12b4de7898662024ee25622b25d7
tree36ae693ecd8340d13c9aae1a6295e9046ab688d7
parent6c81fe7925cc4c42de49e17be21eb86d1173c3a7
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>
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