diff options
| -rw-r--r-- | arch/sh/include/asm/unistd_32.h | 4 | ||||
| -rw-r--r-- | arch/sh/include/asm/unistd_64.h | 4 | ||||
| -rw-r--r-- | arch/sh/kernel/syscalls_32.S | 2 | ||||
| -rw-r--r-- | arch/sh/kernel/syscalls_64.S | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/arch/sh/include/asm/unistd_32.h b/arch/sh/include/asm/unistd_32.h index d52c000cf92..2efb819e2db 100644 --- a/arch/sh/include/asm/unistd_32.h +++ b/arch/sh/include/asm/unistd_32.h | |||
| @@ -341,8 +341,10 @@ | |||
| 341 | #define __NR_dup3 330 | 341 | #define __NR_dup3 330 |
| 342 | #define __NR_pipe2 331 | 342 | #define __NR_pipe2 331 |
| 343 | #define __NR_inotify_init1 332 | 343 | #define __NR_inotify_init1 332 |
| 344 | #define __NR_preadv 333 | ||
| 345 | #define __NR_pwritev 334 | ||
| 344 | 346 | ||
| 345 | #define NR_syscalls 333 | 347 | #define NR_syscalls 335 |
| 346 | 348 | ||
| 347 | #ifdef __KERNEL__ | 349 | #ifdef __KERNEL__ |
| 348 | 350 | ||
diff --git a/arch/sh/include/asm/unistd_64.h b/arch/sh/include/asm/unistd_64.h index 7c54e91753c..6eb9d2934c0 100644 --- a/arch/sh/include/asm/unistd_64.h +++ b/arch/sh/include/asm/unistd_64.h | |||
| @@ -381,10 +381,12 @@ | |||
| 381 | #define __NR_dup3 358 | 381 | #define __NR_dup3 358 |
| 382 | #define __NR_pipe2 359 | 382 | #define __NR_pipe2 359 |
| 383 | #define __NR_inotify_init1 360 | 383 | #define __NR_inotify_init1 360 |
| 384 | #define __NR_preadv 361 | ||
| 385 | #define __NR_pwritev 362 | ||
| 384 | 386 | ||
| 385 | #ifdef __KERNEL__ | 387 | #ifdef __KERNEL__ |
| 386 | 388 | ||
| 387 | #define NR_syscalls 361 | 389 | #define NR_syscalls 363 |
| 388 | 390 | ||
| 389 | #define __ARCH_WANT_IPC_PARSE_VERSION | 391 | #define __ARCH_WANT_IPC_PARSE_VERSION |
| 390 | #define __ARCH_WANT_OLD_READDIR | 392 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S index e67c1733e1b..05202edd8e2 100644 --- a/arch/sh/kernel/syscalls_32.S +++ b/arch/sh/kernel/syscalls_32.S | |||
| @@ -349,3 +349,5 @@ ENTRY(sys_call_table) | |||
| 349 | .long sys_dup3 /* 330 */ | 349 | .long sys_dup3 /* 330 */ |
| 350 | .long sys_pipe2 | 350 | .long sys_pipe2 |
| 351 | .long sys_inotify_init1 | 351 | .long sys_inotify_init1 |
| 352 | .long sys_preadv | ||
| 353 | .long sys_writev | ||
diff --git a/arch/sh/kernel/syscalls_64.S b/arch/sh/kernel/syscalls_64.S index 557cb91f5ca..a083609f928 100644 --- a/arch/sh/kernel/syscalls_64.S +++ b/arch/sh/kernel/syscalls_64.S | |||
| @@ -387,3 +387,5 @@ sys_call_table: | |||
| 387 | .long sys_dup3 | 387 | .long sys_dup3 |
| 388 | .long sys_pipe2 | 388 | .long sys_pipe2 |
| 389 | .long sys_inotify_init1 /* 360 */ | 389 | .long sys_inotify_init1 /* 360 */ |
| 390 | .long sys_preadv | ||
| 391 | .long sys_pwritev | ||
