microblaze: Wire-up getrandom syscall
authorMichal Simek <michal.simek@xilinx.com>
Thu, 7 Aug 2014 13:59:05 +0000 (15:59 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 21 Aug 2014 08:07:05 +0000 (10:07 +0200)
Add new getrandom syscall.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/uapi/asm/unistd.h
arch/microblaze/kernel/syscall_table.S

index 3fafcd2..ad5526a 100644 (file)
 #define __NR_sched_getattr     382
 #define __NR_renameat2         383
 #define __NR_seccomp           384
+#define __NR_getrandom         385
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
index 342da7e..c7c806d 100644 (file)
@@ -385,3 +385,4 @@ ENTRY(sys_call_table)
        .long sys_sched_getattr
        .long sys_renameat2
        .long sys_seccomp
+       .long sys_getrandom             /* 385 */