Skip to content

Commit

Permalink
sh: wire up finit_module syscall.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Jan 14, 2013
1 parent 4a71997 commit a246f58
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/sh/include/uapi/asm/unistd_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@
#define __NR_process_vm_readv 365
#define __NR_process_vm_writev 366
#define __NR_kcmp 367
#define __NR_finit_module 368

#define NR_syscalls 368
#define NR_syscalls 369

#endif /* __ASM_SH_UNISTD_32_H */
3 changes: 2 additions & 1 deletion arch/sh/include/uapi/asm/unistd_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@
#define __NR_process_vm_readv 376
#define __NR_process_vm_writev 377
#define __NR_kcmp 378
#define __NR_finit_module 379

#define NR_syscalls 379
#define NR_syscalls 380

#endif /* __ASM_SH_UNISTD_64_H */
1 change: 1 addition & 0 deletions arch/sh/kernel/syscalls_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -385,3 +385,4 @@ ENTRY(sys_call_table)
.long sys_process_vm_readv /* 365 */
.long sys_process_vm_writev
.long sys_kcmp
.long sys_finit_module
1 change: 1 addition & 0 deletions arch/sh/kernel/syscalls_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,4 @@ sys_call_table:
.long sys_process_vm_readv
.long sys_process_vm_writev
.long sys_kcmp
.long sys_finit_module

0 comments on commit a246f58

Please sign in to comment.