diff options
author | Brian Gerst <brgerst@gmail.com> | 2025-03-14 11:12:18 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-19 11:19:17 +0100 |
commit | 9a93e29f16bbba90a63faad0abbc6dea3b2f0c63 (patch) | |
tree | 7690e4e51f40a42420b282c53203f61f1a3ec3ad /arch/x86/kernel/process.c | |
parent | 21832247f2df4f636b0f2ae6939819e8dd2ed35f (diff) |
x86/syscall: Move sys_ni_syscall()
Move sys_ni_syscall() to kernel/process.c, and remove the now empty
entry/common.c
No functional changes.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20250314151220.862768-6-brgerst@gmail.com
Diffstat (limited to 'arch/x86/kernel/process.c')
-rw-r--r-- | arch/x86/kernel/process.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 0f398a42c1e2..5452237fabd4 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -1063,3 +1063,8 @@ SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) return -EINVAL; } + +SYSCALL_DEFINE0(ni_syscall) +{ + return -ENOSYS; +} |