Skip to content

Commit 3f7decc

Browse files
mrutland-armwildea01
authored andcommitted
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>
1 parent 9b54bf9 commit 3f7decc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm64/kernel/sys.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ SYSCALL_DEFINE1(arm64_personality, unsigned int, personality)
4444
if (personality(personality) == PER_LINUX32 &&
4545
!system_supports_32bit_el0())
4646
return -EINVAL;
47-
return sys_personality(personality);
47+
return ksys_personality(personality);
4848
}
4949

5050
/*

0 commit comments

Comments
 (0)