Skip to content

Commit 71eac70

Browse files
committed
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). Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent fdf9072 commit 71eac70

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎arch/powerpc/include/asm/systbl.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,3 +356,4 @@ COMPAT_SYS_SPU(sendmmsg)
356356
SYSCALL_SPU(setns)
357357
COMPAT_SYS(process_vm_readv)
358358
COMPAT_SYS(process_vm_writev)
359+
SYSCALL(finit_module)

‎arch/powerpc/include/asm/unistd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <uapi/asm/unistd.h>
1313

1414

15-
#define __NR_syscalls 353
15+
#define __NR_syscalls 354
1616

1717
#define __NR__exit __NR_exit
1818
#define NR_syscalls __NR_syscalls

‎arch/powerpc/include/uapi/asm/unistd.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@
375375
#define __NR_setns 350
376376
#define __NR_process_vm_readv 351
377377
#define __NR_process_vm_writev 352
378+
#define __NR_finit_module 353
378379

379380

380381
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */

0 commit comments

Comments
 (0)