sh: wire up fanotify/prlimit64 syscalls.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
tirimbino
Paul Mundt 15 years ago
parent e583d6b3c2
commit 3e497df14d
  1. 5
      arch/sh/include/asm/unistd_32.h
  2. 5
      arch/sh/include/asm/unistd_64.h
  3. 3
      arch/sh/kernel/syscalls_32.S
  4. 3
      arch/sh/kernel/syscalls_64.S

@ -345,8 +345,11 @@
#define __NR_pwritev 334
#define __NR_rt_tgsigqueueinfo 335
#define __NR_perf_event_open 336
#define __NR_fanotify_init 337
#define __NR_fanotify_mark 338
#define __NR_prlimit64 339
#define NR_syscalls 337
#define NR_syscalls 340
#ifdef __KERNEL__

@ -387,10 +387,13 @@
#define __NR_perf_event_open 364
#define __NR_recvmmsg 365
#define __NR_accept4 366
#define __NR_fanotify_init 367
#define __NR_fanotify_mark 368
#define __NR_prlimit64 369
#ifdef __KERNEL__
#define NR_syscalls 367
#define NR_syscalls 370
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR

@ -353,3 +353,6 @@ ENTRY(sys_call_table)
.long sys_pwritev
.long sys_rt_tgsigqueueinfo /* 335 */
.long sys_perf_event_open
.long sys_fanotify_init
.long sys_fanotify_mark
.long sys_prlimit64

@ -393,3 +393,6 @@ sys_call_table:
.long sys_perf_event_open
.long sys_recvmmsg /* 365 */
.long sys_accept4
.long sys_fanotify_init
.long sys_fanotify_mark
.long sys_prlimit64

Loading…
Cancel
Save