diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2007-09-11 18:23:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-11 20:21:20 -0400 |
commit | e845498e4ce4b0e704761e9462e5c29895ced34f (patch) | |
tree | 24669cf8c6085df2df4832df39b41ad6c78f1c1b | |
parent | dd23aae4f5edf4e1dbd8f7f8013a754ba3253f48 (diff) |
m68k(nommu): add missing syscalls
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/m68k/kernel/entry.S | 10 | ||||
-rw-r--r-- | arch/m68knommu/kernel/syscalltable.S | 10 | ||||
-rw-r--r-- | include/asm-m68k/unistd.h | 12 | ||||
-rw-r--r-- | include/asm-m68knommu/unistd.h | 12 |
4 files changed, 42 insertions, 2 deletions
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S index e162ee685d20..918f5dbeaef6 100644 --- a/arch/m68k/kernel/entry.S +++ b/arch/m68k/kernel/entry.S | |||
@@ -735,4 +735,14 @@ sys_call_table: | |||
735 | .long sys_tee | 735 | .long sys_tee |
736 | .long sys_vmsplice | 736 | .long sys_vmsplice |
737 | .long sys_move_pages /* 310 */ | 737 | .long sys_move_pages /* 310 */ |
738 | .long sys_sched_setaffinity | ||
739 | .long sys_sched_getaffinity | ||
740 | .long sys_kexec_load | ||
741 | .long sys_getcpu | ||
742 | .long sys_epoll_pwait /* 315 */ | ||
743 | .long sys_utimensat | ||
744 | .long sys_signalfd | ||
745 | .long sys_timerfd | ||
746 | .long sys_eventfd | ||
747 | .long sys_fallocate /* 320 */ | ||
738 | 748 | ||
diff --git a/arch/m68knommu/kernel/syscalltable.S b/arch/m68knommu/kernel/syscalltable.S index 4603f4f3c935..9620093514bc 100644 --- a/arch/m68knommu/kernel/syscalltable.S +++ b/arch/m68knommu/kernel/syscalltable.S | |||
@@ -329,6 +329,16 @@ ENTRY(sys_call_table) | |||
329 | .long sys_tee | 329 | .long sys_tee |
330 | .long sys_vmsplice | 330 | .long sys_vmsplice |
331 | .long sys_move_pages /* 310 */ | 331 | .long sys_move_pages /* 310 */ |
332 | .long sys_sched_setaffinity | ||
333 | .long sys_sched_getaffinity | ||
334 | .long sys_kexec_load | ||
335 | .long sys_getcpu | ||
336 | .long sys_epoll_pwait /* 315 */ | ||
337 | .long sys_utimensat | ||
338 | .long sys_signalfd | ||
339 | .long sys_timerfd | ||
340 | .long sys_eventfd | ||
341 | .long sys_fallocate /* 320 */ | ||
332 | 342 | ||
333 | .rept NR_syscalls-(.-sys_call_table)/4 | 343 | .rept NR_syscalls-(.-sys_call_table)/4 |
334 | .long sys_ni_syscall | 344 | .long sys_ni_syscall |
diff --git a/include/asm-m68k/unistd.h b/include/asm-m68k/unistd.h index fdbb60e6a0d4..a30fe9c64143 100644 --- a/include/asm-m68k/unistd.h +++ b/include/asm-m68k/unistd.h | |||
@@ -313,10 +313,20 @@ | |||
313 | #define __NR_tee 308 | 313 | #define __NR_tee 308 |
314 | #define __NR_vmsplice 309 | 314 | #define __NR_vmsplice 309 |
315 | #define __NR_move_pages 310 | 315 | #define __NR_move_pages 310 |
316 | #define __NR_sched_setaffinity 311 | ||
317 | #define __NR_sched_getaffinity 312 | ||
318 | #define __NR_kexec_load 313 | ||
319 | #define __NR_getcpu 314 | ||
320 | #define __NR_epoll_pwait 315 | ||
321 | #define __NR_utimensat 316 | ||
322 | #define __NR_signalfd 317 | ||
323 | #define __NR_timerfd 318 | ||
324 | #define __NR_eventfd 319 | ||
325 | #define __NR_fallocate 320 | ||
316 | 326 | ||
317 | #ifdef __KERNEL__ | 327 | #ifdef __KERNEL__ |
318 | 328 | ||
319 | #define NR_syscalls 311 | 329 | #define NR_syscalls 321 |
320 | 330 | ||
321 | #define __ARCH_WANT_IPC_PARSE_VERSION | 331 | #define __ARCH_WANT_IPC_PARSE_VERSION |
322 | #define __ARCH_WANT_OLD_READDIR | 332 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/include/asm-m68knommu/unistd.h b/include/asm-m68knommu/unistd.h index 82e03195f325..eb1b566793fe 100644 --- a/include/asm-m68knommu/unistd.h +++ b/include/asm-m68knommu/unistd.h | |||
@@ -314,10 +314,20 @@ | |||
314 | #define __NR_tee 308 | 314 | #define __NR_tee 308 |
315 | #define __NR_vmsplice 309 | 315 | #define __NR_vmsplice 309 |
316 | #define __NR_move_pages 310 | 316 | #define __NR_move_pages 310 |
317 | #define __NR_sched_setaffinity 311 | ||
318 | #define __NR_sched_getaffinity 312 | ||
319 | #define __NR_kexec_load 313 | ||
320 | #define __NR_getcpu 314 | ||
321 | #define __NR_epoll_pwait 315 | ||
322 | #define __NR_utimensat 316 | ||
323 | #define __NR_signalfd 317 | ||
324 | #define __NR_timerfd 318 | ||
325 | #define __NR_eventfd 319 | ||
326 | #define __NR_fallocate 320 | ||
317 | 327 | ||
318 | #ifdef __KERNEL__ | 328 | #ifdef __KERNEL__ |
319 | 329 | ||
320 | #define NR_syscalls 311 | 330 | #define NR_syscalls 321 |
321 | 331 | ||
322 | #define __ARCH_WANT_IPC_PARSE_VERSION | 332 | #define __ARCH_WANT_IPC_PARSE_VERSION |
323 | #define __ARCH_WANT_OLD_READDIR | 333 | #define __ARCH_WANT_OLD_READDIR |