Commit 67a7acd3 authored by Dominik Brodowski's avatar Dominik Brodowski

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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 70dd4b31
...@@ -222,7 +222,7 @@ your new syscall number may get adjusted to resolve conflicts. ...@@ -222,7 +222,7 @@ your new syscall number may get adjusted to resolve conflicts.
The file ``kernel/sys_ni.c`` provides a fallback stub implementation of each The file ``kernel/sys_ni.c`` provides a fallback stub implementation of each
system call, returning ``-ENOSYS``. Add your new system call here too:: system call, returning ``-ENOSYS``. Add your new system call here too::
cond_syscall(sys_xyzzy); COND_SYSCALL(xyzzy);
Your new kernel functionality, and the system call that controls it, should Your new kernel functionality, and the system call that controls it, should
normally be optional, so add a ``CONFIG`` option (typically to normally be optional, so add a ``CONFIG`` option (typically to
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment