Skip to content

Commit

Permalink
m68k{,nommu}: Wire up new system calls
Browse files Browse the repository at this point in the history
Wire up for m68k{,nommu} the system calls that were added in the last merge
window:

 - 4006553 ("flag parameters: inotify_init")
 - ed8cae8 ("flag parameters: pipe")
 - 336dd1f ("flag parameters: dup2")
 - a0998b5 ("flag parameters: epoll_create")
 - 9fe5ad9 ("flag parameters add-on: remove
						 epoll_create size param")
 - b087498 ("flag parameters: eventfd")
 - 9deb27b ("flag parameters: signalfd")

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Aug 11, 2008
1 parent 3838f59 commit 0e7d5bb
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
6 changes: 6 additions & 0 deletions arch/m68k/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

8 changes: 7 additions & 1 deletion arch/m68knommu/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions arch/m68knommu/kernel/syscalltable.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion include/asm-m68k/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e7d5bb

Please sign in to comment.