summaryrefslogtreecommitdiff
path: root/init/initramfs.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2019-09-13 15:55:50 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2019-10-14 12:55:00 +0300
commitce87de45b3243d7023e8a4a76ba004002a7ec087 (patch)
tree4948870fe2fa04bd1ddb766a3d6632eab8d7ca73 /init/initramfs.c
parent4f5cafb5cb8471e54afdc9054d973535614f7675 (diff)
downloadlinux-ce87de45b3243d7023e8a4a76ba004002a7ec087.tar.xz
arm64: simplify syscall wrapper ifdeffery
Back in commit: 4378a7d4be30ec69 ("arm64: implement syscall wrappers") ... I implemented the arm64 syscall wrapper glue following the approach taken on x86. While doing so, I also copied across some ifdeffery that isn't necessary on arm64. On arm64 we don't share any of the native wrappers with compat tasks, and unlike x86 we don't have alternative implementations of SYSCALL_DEFINE0(), COND_SYSCALL(), or SYS_NI() defined when AArch32 compat support is enabled. Thus we don't need to prevent multiple definitions of these macros, and can remove the #ifndef ... #endif guards protecting them. If any of these had been previously defined elsewhere, syscalls are unlikely to work correctly, and we'd want the compiler to warn about the multiple definitions. Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions