summaryrefslogtreecommitdiffstats
path: root/Documentation/process
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2018-03-04 19:06:35 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2018-04-02 20:16:20 +0200
commit67a7acd3773a94df2e671601a288685485463cf9 (patch)
tree15d6157fedd6c804f42daa4337b7d1d67e4f8e2a /Documentation/process
parent70dd4b3160798b647b7f30baf9fb6e8a5933d4e2 (diff)
downloadlinux-67a7acd3773a94df2e671601a288685485463cf9.tar.gz
linux-67a7acd3773a94df2e671601a288685485463cf9.tar.bz2
linux-67a7acd3773a94df2e671601a288685485463cf9.zip
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 <linux@dominikbrodowski.net>
Diffstat (limited to 'Documentation/process')
-rw-r--r--Documentation/process/adding-syscalls.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/process/adding-syscalls.rst b/Documentation/process/adding-syscalls.rst
index 556613744556..314c8bf6f2a2 100644
--- a/Documentation/process/adding-syscalls.rst
+++ b/Documentation/process/adding-syscalls.rst
@@ -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