From: Yoshinori Sato Signed-off-by: Yoshinori Sato Signed-off-by: Andrew Morton --- 25-akpm/arch/h8300/kernel/syscalls.S | 15 +++++++++++++++ 25-akpm/include/asm-h8300/unistd.h | 23 ++++++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff -puN arch/h8300/kernel/syscalls.S~h8-300-new-systemcall-support arch/h8300/kernel/syscalls.S --- 25/arch/h8300/kernel/syscalls.S~h8-300-new-systemcall-support Thu Dec 9 14:37:42 2004 +++ 25-akpm/arch/h8300/kernel/syscalls.S Thu Dec 9 14:37:42 2004 @@ -289,6 +289,21 @@ SYMBOL_NAME_LABEL(sys_call_table) .long SYMBOL_NAME(sys_utimes) .long SYMBOL_NAME(sys_fadvise64_64) .long SYMBOL_NAME(sys_ni_syscall) /* sys_vserver */ + .long SYMBOL_NAME(sys_mbind) + .long SYMBOL_NAME(sys_get_mempolicy) + .long SYMBOL_NAME(sys_set_mempolicy) + .long SYMBOL_NAME(sys_mq_open) + .long SYMBOL_NAME(sys_mq_unlink) + .long SYMBOL_NAME(sys_mq_timedsend) + .long SYMBOL_NAME(sys_mq_timedreceive) /* 280 */ + .long SYMBOL_NAME(sys_mq_notify) + .long SYMBOL_NAME(sys_mq_getsetattr) + .long SYMBOL_NAME(sys_ni_syscall) /* reserved for kexec */ + .long SYMBOL_NAME(sys_waitid) + .long SYMBOL_NAME(sys_ni_syscall) /* 285 */ /* available */ + .long SYMBOL_NAME(sys_add_key) + .long SYMBOL_NAME(sys_request_key) + .long SYMBOL_NAME(sys_keyctl) .rept NR_syscalls-(.-SYMBOL_NAME(sys_call_table))/4 .long SYMBOL_NAME(sys_ni_syscall) diff -puN include/asm-h8300/unistd.h~h8-300-new-systemcall-support include/asm-h8300/unistd.h --- 25/include/asm-h8300/unistd.h~h8-300-new-systemcall-support Thu Dec 9 14:37:42 2004 +++ 25-akpm/include/asm-h8300/unistd.h Thu Dec 9 14:37:42 2004 @@ -270,8 +270,29 @@ #define __NR_clock_gettime (__NR_timer_create+6) #define __NR_clock_getres (__NR_timer_create+7) #define __NR_clock_nanosleep (__NR_timer_create+8) +#define __NR_statfs64 268 +#define __NR_fstatfs64 269 +#define __NR_tgkill 270 +#define __NR_utimes 271 +#define __NR_fadvise64_64 272 +#define __NR_vserver 273 +#define __NR_mbind 274 +#define __NR_get_mempolicy 275 +#define __NR_set_mempolicy 276 +#define __NR_mq_open 277 +#define __NR_mq_unlink (__NR_mq_open+1) +#define __NR_mq_timedsend (__NR_mq_open+2) +#define __NR_mq_timedreceive (__NR_mq_open+3) +#define __NR_mq_notify (__NR_mq_open+4) +#define __NR_mq_getsetattr (__NR_mq_open+5) +#define __NR_sys_kexec_load 283 +#define __NR_waitid 284 +/* #define __NR_sys_setaltroot 285 */ +#define __NR_add_key 286 +#define __NR_request_key 287 +#define __NR_keyctl 288 -#define NR_syscalls 268 +#define NR_syscalls 289 /* user-visible error numbers are in the range -1 - -122: see _