summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2018-07-11 16:56:52 +0300
committerWill Deacon <will.deacon@arm.com>2018-07-12 16:49:48 +0300
commit3f7deccb037cc2bd2f848576439c033f81daeb6a (patch)
treefefd7d2a094d6095f72ce76e15f03091fdf270db /arch/arm64
parent9b54bf9d6a5b30e2cc22b18793e9a4158c5b4882 (diff)
downloadlinux-3f7deccb037cc2bd2f848576439c033f81daeb6a.tar.xz
arm64: remove in-kernel call to sys_personality()
With pt_regs syscall wrappers, the calling convention for sys_personality() will change. Use ksys_personality(), which is functionally equivalent. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/sys.c b/arch/arm64/kernel/sys.c
index df8180175515..f4e02f6aceb8 100644
--- a/arch/arm64/kernel/sys.c
+++ b/arch/arm64/kernel/sys.c
@@ -44,7 +44,7 @@ SYSCALL_DEFINE1(arm64_personality, unsigned int, personality)
if (personality(personality) == PER_LINUX32 &&
!system_supports_32bit_el0())
return -EINVAL;
- return sys_personality(personality);
+ return ksys_personality(personality);
}
/*