diff options
| -rw-r--r-- | arch/arm/kernel/calls.S | 5 | ||||
| -rw-r--r-- | include/asm-arm/unistd.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index db07ce42b3b2..cc89a73ada6f 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | * This file is included twice in entry-common.S | 10 | * This file is included twice in entry-common.S |
| 11 | */ | 11 | */ |
| 12 | #ifndef NR_syscalls | 12 | #ifndef NR_syscalls |
| 13 | #define NR_syscalls 320 | 13 | #define NR_syscalls 328 |
| 14 | #else | 14 | #else |
| 15 | 15 | ||
| 16 | __syscall_start: | 16 | __syscall_start: |
| @@ -333,6 +333,9 @@ __syscall_start: | |||
| 333 | .long sys_inotify_init | 333 | .long sys_inotify_init |
| 334 | .long sys_inotify_add_watch | 334 | .long sys_inotify_add_watch |
| 335 | .long sys_inotify_rm_watch | 335 | .long sys_inotify_rm_watch |
| 336 | .long sys_mbind | ||
| 337 | /* 320 */ .long sys_get_mempolicy | ||
| 338 | .long sys_set_mempolicy | ||
| 336 | __syscall_end: | 339 | __syscall_end: |
| 337 | 340 | ||
| 338 | .rept NR_syscalls - (__syscall_end - __syscall_start) / 4 | 341 | .rept NR_syscalls - (__syscall_end - __syscall_start) / 4 |
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h index 278de61224d1..c49df635a80f 100644 --- a/include/asm-arm/unistd.h +++ b/include/asm-arm/unistd.h | |||
| @@ -355,6 +355,9 @@ | |||
| 355 | #define __NR_inotify_init (__NR_SYSCALL_BASE+316) | 355 | #define __NR_inotify_init (__NR_SYSCALL_BASE+316) |
| 356 | #define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317) | 356 | #define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317) |
| 357 | #define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318) | 357 | #define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318) |
| 358 | #define __NR_mbind (__NR_SYSCALL_BASE+319) | ||
| 359 | #define __NR_get_mempolicy (__NR_SYSCALL_BASE+320) | ||
| 360 | #define __NR_set_mempolicy (__NR_SYSCALL_BASE+321) | ||
| 358 | 361 | ||
| 359 | /* | 362 | /* |
| 360 | * The following SWIs are ARM private. | 363 | * The following SWIs are ARM private. |
