]> git.karo-electronics.de Git - linux-beck.git/commitdiff
microblaze: Wire-up new system calls
authorMichal Simek <monstr@monstr.eu>
Thu, 5 Jan 2012 09:27:08 +0000 (10:27 +0100)
committerMichal Simek <monstr@monstr.eu>
Thu, 5 Jan 2012 10:16:51 +0000 (11:16 +0100)
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>
arch/microblaze/include/asm/unistd.h
arch/microblaze/kernel/syscall_table.S

index 7d7092b917ac5ddb61664075aca7879ca95d6717..d20ffbc86bebcc4b319ce1ff52117ae5c029463a 100644 (file)
 #define __NR_clock_adjtime     373
 #define __NR_syncfs            374
 #define __NR_setns             375
+#define __NR_sendmmsg          376
+#define __NR_process_vm_readv  377
+#define __NR_process_vm_writev 378
 
-#define __NR_syscalls          376
+#define __NR_syscalls          379
 
 #ifdef __KERNEL__
 #ifndef __ASSEMBLY__
index 8789daa2a346683d43e7b42efe7935494b332e14..6a2b294ef6dc29525c75735bd7c82f001e5900a8 100644 (file)
@@ -380,3 +380,6 @@ ENTRY(sys_call_table)
        .long sys_clock_adjtime
        .long sys_syncfs
        .long sys_setns                 /* 375 */
+       .long sys_sendmmsg
+       .long sys_process_vm_readv
+       .long sys_process_vm_writev