Skip to content

Commit

Permalink
arm64: Fix the arm64_personality() syscall wrapper redirection
Browse files Browse the repository at this point in the history
Following commit 4378a7d ("arm64: implement syscall wrappers"), the
syscall function names gained the '__arm64_' prefix. Ensure that we
have the correct #define for redirecting a default syscall through a
wrapper.

Fixes: 4378a7d ("arm64: implement syscall wrappers")
Cc: <[email protected]> # 4.19.x-
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
  • Loading branch information
ctmarinas authored and wildea01 committed May 28, 2019
1 parent edbcf50 commit 0037727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SYSCALL_DEFINE1(arm64_personality, unsigned int, personality)
/*
* Wrappers to pass the pt_regs argument.
*/
#define sys_personality sys_arm64_personality
#define __arm64_sys_personality __arm64_sys_arm64_personality

asmlinkage long sys_ni_syscall(const struct pt_regs *);
#define __arm64_sys_ni_syscall sys_ni_syscall
Expand Down

0 comments on commit 0037727

Please sign in to comment.