]> Pileus Git - ~andy/linux/commitdiff
powerpc: add finit_module syscall.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 2 Nov 2012 04:27:20 +0000 (14:57 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Dec 2012 02:35:27 +0000 (13:05 +1030)
(This is just for Acks: this won't work without the actual syscall patches,
 sitting in my tree for -next at the moment).

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h
arch/powerpc/include/uapi/asm/unistd.h

index 840838769853e653f1ee950d9fdb4ed619f54ede..d0b27f8b47fb2989f380c18716560169034ac2d9 100644 (file)
@@ -356,3 +356,4 @@ COMPAT_SYS_SPU(sendmmsg)
 SYSCALL_SPU(setns)
 COMPAT_SYS(process_vm_readv)
 COMPAT_SYS(process_vm_writev)
+SYSCALL(finit_module)
index 921dce6d84458d3ef02b7b8ea1a6590809c226ef..8d219a014c3b8a7a0c9070a20dfb44da0a813a60 100644 (file)
@@ -12,7 +12,7 @@
 #include <uapi/asm/unistd.h>
 
 
-#define __NR_syscalls          353
+#define __NR_syscalls          354
 
 #define __NR__exit __NR_exit
 #define NR_syscalls    __NR_syscalls
index 380b5d37a9049fd1c2cb60d852d46e5e648c293d..8c478c6c6b1e41c7090b06a8b52815f7d537ff89 100644 (file)
 #define __NR_setns             350
 #define __NR_process_vm_readv  351
 #define __NR_process_vm_writev 352
+#define __NR_finit_module      353
 
 
 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */