aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-12-28 14:24:21 +0100
committerMichal Simek <monstr@monstr.eu>2010-01-18 16:35:27 +0100
commit4a3bb9a90083c064031f15c2ac38bcf68c3487e6 (patch)
tree8655a290b2f7c804e6a74ecba1783d39b0cbcb04
parentce9c37f1318d98c357ab733be51b768ba138c0b0 (diff)
downloadkernel_samsung_smdk4412-4a3bb9a90083c064031f15c2ac38bcf68c3487e6.zip
kernel_samsung_smdk4412-4a3bb9a90083c064031f15c2ac38bcf68c3487e6.tar.gz
kernel_samsung_smdk4412-4a3bb9a90083c064031f15c2ac38bcf68c3487e6.tar.bz2
microblaze: Enable accept4 syscall
We had wrong name in unistd.h + I wire up this syscall in syscall table. Signed-off-by: Michal Simek <monstr@monstr.eu>
-rw-r--r--arch/microblaze/include/asm/unistd.h2
-rw-r--r--arch/microblaze/kernel/syscall_table.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h
index 1ac847b..2b67e92 100644
--- a/arch/microblaze/include/asm/unistd.h
+++ b/arch/microblaze/include/asm/unistd.h
@@ -377,7 +377,7 @@
#define __NR_shutdown 359 /* new */
#define __NR_sendmsg 360 /* new */
#define __NR_recvmsg 361 /* new */
-#define __NR_accept04 362 /* new */
+#define __NR_accept4 362 /* new */
#define __NR_preadv 363 /* new */
#define __NR_pwritev 364 /* new */
#define __NR_rt_tgsigqueueinfo 365 /* new */
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S
index 4088be7..03376dc 100644
--- a/arch/microblaze/kernel/syscall_table.S
+++ b/arch/microblaze/kernel/syscall_table.S
@@ -366,7 +366,7 @@ ENTRY(sys_call_table)
.long sys_shutdown
.long sys_sendmsg /* 360 */
.long sys_recvmsg
- .long sys_ni_syscall
+ .long sys_accept4
.long sys_ni_syscall
.long sys_ni_syscall
.long sys_rt_tgsigqueueinfo /* 365 */