summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/sys32.S
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2012-10-10 15:27:04 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2012-10-11 10:39:08 +0100
commitf3d447a97f24f7c1e14767e1974b8e5bc219bc07 (patch)
tree6c07c07aa9ed0b781ce9be11bb54bc6248a882d0 /arch/arm64/kernel/sys32.S
parent4ed27ecfcac538b4c578eb7fe87b8bf775a5ff68 (diff)
arm64: Do not include asm/unistd32.h in asm/unistd.h
This patch only includes asm/unistd32.h where necessary and removes its inclusion in the asm/unistd.h file. The __SYSCALL_COMPAT guard is dropped. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/sys32.S')
-rw-r--r--arch/arm64/kernel/sys32.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm64/kernel/sys32.S b/arch/arm64/kernel/sys32.S
index c1e46dbacef..54c4aec47a0 100644
--- a/arch/arm64/kernel/sys32.S
+++ b/arch/arm64/kernel/sys32.S
@@ -149,11 +149,10 @@ ENDPROC(compat_sys_fanotify_mark_wrapper)
#undef __SYSCALL
#define __SYSCALL(x, y) .quad y // x
-#define __SYSCALL_COMPAT
/*
* The system calls table must be 4KB aligned.
*/
.align 12
ENTRY(compat_sys_call_table)
-#include <asm/unistd.h>
+#include <asm/unistd32.h>