Re: [git pull] h8300 update

From: Yoshinori Sato
Date: Mon Jan 11 2010 - 00:30:11 EST


Wire up new syscalls.

Signed-off-by: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
---
arch/h8300/include/asm/unistd.h | 20 +++++++++++++++++++-
arch/h8300/kernel/syscalls.S | 18 ++++++++++++++++++
2 files changed, 37 insertions(+), 1 deletions(-)

diff --git a/arch/h8300/include/asm/unistd.h b/arch/h8300/include/asm/unistd.h
index 99f3c35..1d54776 100644
--- a/arch/h8300/include/asm/unistd.h
+++ b/arch/h8300/include/asm/unistd.h
@@ -325,10 +325,28 @@
#define __NR_move_pages 317
#define __NR_getcpu 318
#define __NR_epoll_pwait 319
+#define __NR_utimensat 320
+#define __NR_signalfd 321
+#define __NR_timerfd_create 322
+#define __NR_eventfd 323
+#define __NR_fallocate 324
+#define __NR_timerfd_settime 325
+#define __NR_timerfd_gettime 326
+#define __NR_signalfd4 327
+#define __NR_eventfd2 328
+#define __NR_epoll_create1 329
+#define __NR_dup3 330
+#define __NR_pipe2 331
+#define __NR_inotify_init1 332
+#define __NR_preadv 333
+#define __NR_pwritev 334
+#define __NR_rt_tgsigqueueinfo 335
+#define __NR_perf_event_open 336
+#define __NR_recvmmsg 337

#ifdef __KERNEL__

-#define NR_syscalls 320
+#define NR_syscalls 338

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
diff --git a/arch/h8300/kernel/syscalls.S b/arch/h8300/kernel/syscalls.S
index 2d69881..a208ee7 100644
--- a/arch/h8300/kernel/syscalls.S
+++ b/arch/h8300/kernel/syscalls.S
@@ -333,6 +333,24 @@ SYMBOL_NAME_LABEL(sys_call_table)
.long SYMBOL_NAME(sys_ni_syscall) /* sys_move_pages */
.long SYMBOL_NAME(sys_getcpu)
.long SYMBOL_NAME(sys_ni_syscall) /* sys_epoll_pwait */
+ .long SYMBOL_NAME(sys_utimensat) /* 320 */
+ .long SYMBOL_NAME(sys_signalfd)
+ .long SYMBOL_NAME(sys_timerfd_create)
+ .long SYMBOL_NAME(sys_eventfd)
+ .long SYMBOL_NAME(sys_fallocate)
+ .long SYMBOL_NAME(sys_timerfd_settime) /* 325 */
+ .long SYMBOL_NAME(sys_timerfd_gettime)
+ .long SYMBOL_NAME(sys_signalfd4)
+ .long SYMBOL_NAME(sys_eventfd2)
+ .long SYMBOL_NAME(sys_epoll_create1)
+ .long SYMBOL_NAME(sys_dup3) /* 330 */
+ .long SYMBOL_NAME(sys_pipe2)
+ .long SYMBOL_NAME(sys_inotify_init1)
+ .long SYMBOL_NAME(sys_preadv)
+ .long SYMBOL_NAME(sys_pwritev)
+ .long SYMBOL_NAME(sys_rt_tgsigqueueinfo) /* 335 */
+ .long SYMBOL_NAME(sys_perf_event_open)
+ .long SYMBOL_NAME(sys_recvmmsg)

.macro call_sp addr
mov.l #SYMBOL_NAME(\addr),er6
--
1.6.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/