From: Mark Rutland Date: Wed, 11 Jul 2018 13:56:52 +0000 (+0100) Subject: arm64: remove in-kernel call to sys_personality() X-Git-Tag: v5.15~8199^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f7deccb037cc2bd2f848576439c033f81daeb6a;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Catalin Marinas Cc: Will Deacon Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/sys.c b/arch/arm64/kernel/sys.c index df81801..f4e02f6 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); } /*