]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
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 3fafcd25b3b450d6f070fccf2547a6ef2ea57b57..ad5526ad16704032066b5f92dc57cdd7c0b24218 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 342da7ebd80ad4a3c2e0cfb6e69ddac9d9bc5ac7..c7c806db61cedc5a0ee7083cf3a4247f3cc292a4 100644 (file)
@@ -385,3 +385,4 @@ ENTRY(sys_call_table)
        .long sys_sched_getattr
        .long sys_renameat2
        .long sys_seccomp
+       .long sys_getrandom             /* 385 */