diff options
author | Michal Simek <monstr@monstr.eu> | 2012-01-05 04:27:08 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-01-05 05:16:51 -0500 |
commit | f3aef2510e2bb28cdbf32e5f3b8f04f03336ac81 (patch) | |
tree | 5c35ee2a219f51a08ec4697d68dcd128d5ec0dc9 | |
parent | 18e3b1075b1bc4a6027a6612fe70a5c81c209ec7 (diff) |
microblaze: Wire-up new system calls
Wire up three system calls
sendmmsg/process_vm_readv/process_vm_writev
All tested by testing apps.
Look at:
net: Add sendmmsg socket system call
(sha1: 228e548e602061b08ee8e8966f567c12aa079682)
Cross Memory Attach
(sha1: fcf634098c00dd9cd247447368495f0b79be12d1)
Signed-off-by: Michal Simek <monstr@monstr.eu>
-rw-r--r-- | arch/microblaze/include/asm/unistd.h | 5 | ||||
-rw-r--r-- | arch/microblaze/kernel/syscall_table.S | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h index 7d7092b917ac..d20ffbc86beb 100644 --- a/arch/microblaze/include/asm/unistd.h +++ b/arch/microblaze/include/asm/unistd.h | |||
@@ -391,8 +391,11 @@ | |||
391 | #define __NR_clock_adjtime 373 | 391 | #define __NR_clock_adjtime 373 |
392 | #define __NR_syncfs 374 | 392 | #define __NR_syncfs 374 |
393 | #define __NR_setns 375 | 393 | #define __NR_setns 375 |
394 | #define __NR_sendmmsg 376 | ||
395 | #define __NR_process_vm_readv 377 | ||
396 | #define __NR_process_vm_writev 378 | ||
394 | 397 | ||
395 | #define __NR_syscalls 376 | 398 | #define __NR_syscalls 379 |
396 | 399 | ||
397 | #ifdef __KERNEL__ | 400 | #ifdef __KERNEL__ |
398 | #ifndef __ASSEMBLY__ | 401 | #ifndef __ASSEMBLY__ |
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S index 8789daa2a346..6a2b294ef6dc 100644 --- a/arch/microblaze/kernel/syscall_table.S +++ b/arch/microblaze/kernel/syscall_table.S | |||
@@ -380,3 +380,6 @@ ENTRY(sys_call_table) | |||
380 | .long sys_clock_adjtime | 380 | .long sys_clock_adjtime |
381 | .long sys_syncfs | 381 | .long sys_syncfs |
382 | .long sys_setns /* 375 */ | 382 | .long sys_setns /* 375 */ |
383 | .long sys_sendmmsg | ||
384 | .long sys_process_vm_readv | ||
385 | .long sys_process_vm_writev | ||