Skip to contentSkip to conversation

m68k{,nommu}: Wire up new system calls

PATCH In review Geert Uytterhoeven 2 participants 2 messages Aug 10, 2008 – Aug 11, 2008 m68k architecture

lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

PATCH 1/1 m68k{,nommu}: Wire up new system calls

Wire up for m68k{,nommu} the system calls that were added in the last merge window:

commit 4006553b06306b34054529477b06b68a1c66249b (flag parameters: inotify_init) commit ed8cae8ba01348bfd83333f4648dd807b04d7f08 (flag parameters: pipe) commit 336dd1f70ff62d7dd8655228caed4c5bfc818c56 (flag parameters: dup2) commit a0998b50c3f0b8fdd265c63e0032f86ebe377dbf (flag parameters: epoll_create) commit 9fe5ad9c8cef9ad5873d8ee55d1cf00d9b607df0 (flag parameters add-on: remove
epoll_create size param)
commit b087498eb5605673b0f260a7620d91818cd72304 (flag parameters: eventfd) commit 9deb27baedb79759c3ab9435a7d8b841842d56e9 (flag parameters: signalfd)

---
Greg, please ack or forward to Linus. Thx!

 arch/m68k/kernel/entry.S             |    6 ++++++
 arch/m68knommu/include/asm/unistd.h  |    8 +++++++-
 arch/m68knommu/kernel/syscalltable.S |    6 ++++++
 include/asm-m68k/unistd.h            |    8 +++++++-
 4 files changed, 26 insertions(+), 2 deletions(-)
arch/m68k/kernel/entry.S +6 -0
@@ -747,4 +747,10 @@ sys_call_table:
 	.long sys_fallocate		/* 320 */
 	.long sys_timerfd_settime
 	.long sys_timerfd_gettime
+	.long sys_signalfd4
+	.long sys_eventfd2
+	.long sys_epoll_create1		/* 325 */
+	.long sys_dup3
+	.long sys_pipe2
+	.long sys_inotify_init1
 
arch/m68knommu/include/asm/unistd.h +7 -1
@@ -326,10 +326,16 @@
 #define __NR_fallocate		320
 #define __NR_timerfd_settime	321
 #define __NR_timerfd_gettime	322
+#define __NR_signalfd4		323
+#define __NR_eventfd2		324
+#define __NR_epoll_create1	325
+#define __NR_dup3		326
+#define __NR_pipe2		327
+#define __NR_inotify_init1	328
 
 #ifdef __KERNEL__
 
-#define NR_syscalls		323
+#define NR_syscalls		329
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
arch/m68knommu/kernel/syscalltable.S +6 -0
@@ -341,6 +341,12 @@ ENTRY(sys_call_table)
 	.long sys_fallocate		/* 320 */
 	.long sys_timerfd_settime
 	.long sys_timerfd_gettime
+	.long sys_signalfd4
+	.long sys_eventfd2
+	.long sys_epoll_create1		/* 325 */
+	.long sys_dup3
+	.long sys_pipe2
+	.long sys_inotify_init1
 
 	.rept NR_syscalls-(.-sys_call_table)/4
 		.long sys_ni_syscall
include/asm-m68k/unistd.h +7 -1
@@ -325,10 +325,16 @@
 #define __NR_fallocate		320
 #define __NR_timerfd_settime	321
 #define __NR_timerfd_gettime	322
+#define __NR_signalfd4		323
+#define __NR_eventfd2		324
+#define __NR_epoll_create1	325
+#define __NR_dup3		326
+#define __NR_pipe2		327
+#define __NR_inotify_init1	328
 
 #ifdef __KERNEL__
 
-#define NR_syscalls		323
+#define NR_syscalls		329
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Acked-by on v1 1/1
#1 lore raw

Hi Geert,

Quoted 12 lines · Geert Uytterhoeven

Wire up for m68k{,nommu} the system calls that were added in the last merge window:

commit 4006553b06306b34054529477b06b68a1c66249b (flag parameters: inotify_init) commit ed8cae8ba01348bfd83333f4648dd807b04d7f08 (flag parameters: pipe) commit 336dd1f70ff62d7dd8655228caed4c5bfc818c56 (flag parameters: dup2) commit a0998b50c3f0b8fdd265c63e0032f86ebe377dbf (flag parameters: epoll_create) commit 9fe5ad9c8cef9ad5873d8ee55d1cf00d9b607df0 (flag parameters add-on: remove
epoll_create size param)
commit b087498eb5605673b0f260a7620d91818cd72304 (flag parameters: eventfd) commit 9deb27baedb79759c3ab9435a7d8b841842d56e9 (flag parameters: signalfd)

Quoted 3 lines

---
Greg, please ack or forward to Linus. Thx!

Here is an ack:

I am happy to send on if you want me too?

Regards
Greg

Quoted 86 lines
 arch/m68k/kernel/entry.S             |    6 ++++++
 arch/m68knommu/include/asm/unistd.h  |    8 +++++++-
 arch/m68knommu/kernel/syscalltable.S |    6 ++++++
 include/asm-m68k/unistd.h            |    8 +++++++-
 4 files changed, 26 insertions(+), 2 deletions(-)
arch/m68k/kernel/entry.S +6 -0
@@ -747,4 +747,10 @@ sys_call_table:
 	.long sys_fallocate		/* 320 */
 	.long sys_timerfd_settime
 	.long sys_timerfd_gettime
+	.long sys_signalfd4
+	.long sys_eventfd2
+	.long sys_epoll_create1		/* 325 */
+	.long sys_dup3
+	.long sys_pipe2
+	.long sys_inotify_init1
 
arch/m68knommu/include/asm/unistd.h +7 -1
@@ -326,10 +326,16 @@
 #define __NR_fallocate		320
 #define __NR_timerfd_settime	321
 #define __NR_timerfd_gettime	322
+#define __NR_signalfd4		323
+#define __NR_eventfd2		324
+#define __NR_epoll_create1	325
+#define __NR_dup3		326
+#define __NR_pipe2		327
+#define __NR_inotify_init1	328
 
 #ifdef __KERNEL__
 
-#define NR_syscalls		323
+#define NR_syscalls		329
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
arch/m68knommu/kernel/syscalltable.S +6 -0
@@ -341,6 +341,12 @@ ENTRY(sys_call_table)
 	.long sys_fallocate		/* 320 */
 	.long sys_timerfd_settime
 	.long sys_timerfd_gettime
+	.long sys_signalfd4
+	.long sys_eventfd2
+	.long sys_epoll_create1		/* 325 */
+	.long sys_dup3
+	.long sys_pipe2
+	.long sys_inotify_init1
 
 	.rept NR_syscalls-(.-sys_call_table)/4
 		.long sys_ni_syscall
include/asm-m68k/unistd.h +7 -1
@@ -325,10 +325,16 @@
 #define __NR_fallocate		320
 #define __NR_timerfd_settime	321
 #define __NR_timerfd_gettime	322
+#define __NR_signalfd4		323
+#define __NR_eventfd2		324
+#define __NR_epoll_create1	325
+#define __NR_dup3		326
+#define __NR_pipe2		327
+#define __NR_inotify_init1	328
 
 #ifdef __KERNEL__
 
-#define NR_syscalls		323
+#define NR_syscalls		329
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Signature · 5 lines
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [email protected]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com