powerpc: add finit_module syscall.
PATCH 1/1 powerpc: add finit_module syscall.
(This is just for Acks: this won't work without the actual syscall patches,
sitting in my tree for -next at the moment).
Signed-off-by Rusty Russell <[email protected]>
--- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/systbl.h +1 -0
@@ -356,3 +356,4 @@ COMPAT_SYS_SPU(sendmmsg) SYSCALL_SPU(setns) COMPAT_SYS(process_vm_readv) COMPAT_SYS(process_vm_writev) +SYSCALL(finit_module)
arch/powerpc/include/asm/unistd.h +1 -1
@@ -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
arch/powerpc/include/uapi/asm/unistd.h +1 -0
@@ -375,6 +375,7 @@#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_ */
Signature · 1 line
1.7.10.4
Quoted 4 lines · Rusty Russell
(This is just for Acks: this won't work without the actual syscall patches,
sitting in my tree for -next at the moment).Signed-off-by Rusty Russell <[email protected]>
---
Quoted 39 lines
arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)arch/powerpc/include/asm/systbl.h +1
-0@@ -356,3 +356,4 @@ COMPAT_SYS_SPU(sendmmsg) SYSCALL_SPU(setns) COMPAT_SYS(process_vm_readv) COMPAT_SYS(process_vm_writev) +SYSCALL(finit_module)arch/powerpc/include/asm/unistd.h +1
-1@@ -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_syscallsarch/powerpc/include/uapi/asm/unistd.h +1
-0@@ -375,6 +375,7 @@#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_ */