Skip to content

Commit 67a7acd

Browse files
author
Dominik Brodowski
committed
kernel/sys_ni: remove {sys_,sys_compat} from cond_syscall definitions
This keeps it in line with the SYSCALL_DEFINEx() / COMPAT_SYSCALL_DEFINEx() calling convention. Signed-off-by: Dominik Brodowski <[email protected]>
1 parent 70dd4b3 commit 67a7acd

File tree

2 files changed

+219
-216
lines changed

2 files changed

+219
-216
lines changed

Documentation/process/adding-syscalls.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ your new syscall number may get adjusted to resolve conflicts.
222222
The file ``kernel/sys_ni.c`` provides a fallback stub implementation of each
223223
system call, returning ``-ENOSYS``. Add your new system call here too::
224224

225-
cond_syscall(sys_xyzzy);
225+
COND_SYSCALL(xyzzy);
226226

227227
Your new kernel functionality, and the system call that controls it, should
228228
normally be optional, so add a ``CONFIG`` option (typically to

0 commit comments

Comments
 (0)