Skip to content

Commit

Permalink
kernel/sys_ni: remove {sys_,sys_compat} from cond_syscall definitions
Browse files Browse the repository at this point in the history
This keeps it in line with the SYSCALL_DEFINEx() / COMPAT_SYSCALL_DEFINEx()
calling convention.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
  • Loading branch information
Dominik Brodowski committed Apr 2, 2018
1 parent 70dd4b3 commit 67a7acd
Show file tree
Hide file tree
Showing 2 changed files with 219 additions and 216 deletions.
2 changes: 1 addition & 1 deletion Documentation/process/adding-syscalls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
normally be optional, so add a ``CONFIG`` option (typically to
Expand Down
Loading

0 comments on commit 67a7acd

Please sign in to comment.