diff options
author | Michael Cree <mcree@orcon.net.nz> | 2011-10-31 20:09:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 20:30:51 -0400 |
commit | 0a8c384ebe4cc1c462076732dbffb595e7e81d5c (patch) | |
tree | f624e81a48d63f4df492db27aafaca366eaf8806 /arch/alpha | |
parent | a1cb2c60ddc98ff4e5246f410558805401ceee67 (diff) |
alpha: wire up accept4 syscall
Somehow wiring up the accept4 syscall on Alpha was missed long ago.
This commit rectifies that oversight.
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/include/asm/unistd.h | 3 | ||||
-rw-r--r-- | arch/alpha/kernel/systbls.S | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index 4ac48a095f3a..1fbfd6450a31 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h | |||
@@ -457,10 +457,11 @@ | |||
457 | #define __NR_clock_adjtime 499 | 457 | #define __NR_clock_adjtime 499 |
458 | #define __NR_syncfs 500 | 458 | #define __NR_syncfs 500 |
459 | #define __NR_setns 501 | 459 | #define __NR_setns 501 |
460 | #define __NR_accept4 502 | ||
460 | 461 | ||
461 | #ifdef __KERNEL__ | 462 | #ifdef __KERNEL__ |
462 | 463 | ||
463 | #define NR_SYSCALLS 502 | 464 | #define NR_SYSCALLS 503 |
464 | 465 | ||
465 | #define __ARCH_WANT_IPC_PARSE_VERSION | 466 | #define __ARCH_WANT_IPC_PARSE_VERSION |
466 | #define __ARCH_WANT_OLD_READDIR | 467 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S index 6acea1f96de3..53d0ce2d304c 100644 --- a/arch/alpha/kernel/systbls.S +++ b/arch/alpha/kernel/systbls.S | |||
@@ -520,6 +520,7 @@ sys_call_table: | |||
520 | .quad sys_clock_adjtime | 520 | .quad sys_clock_adjtime |
521 | .quad sys_syncfs /* 500 */ | 521 | .quad sys_syncfs /* 500 */ |
522 | .quad sys_setns | 522 | .quad sys_setns |
523 | .quad sys_accept4 | ||
523 | 524 | ||
524 | .size sys_call_table, . - sys_call_table | 525 | .size sys_call_table, . - sys_call_table |
525 | .type sys_call_table, @object | 526 | .type sys_call_table, @object |