From: Michal Simek Date: Thu, 7 Aug 2014 13:59:05 +0000 (+0200) Subject: microblaze: Wire-up getrandom syscall X-Git-Tag: firefly_0821_release~176^2~3357^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=53133453a9f791dff5b6403bc2f1208b474ae792;p=firefly-linux-kernel-4.4.55.git microblaze: Wire-up getrandom syscall Add new getrandom syscall. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index 3fafcd25b3b4..ad5526ad1670 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/arch/microblaze/include/uapi/asm/unistd.h @@ -400,5 +400,6 @@ #define __NR_sched_getattr 382 #define __NR_renameat2 383 #define __NR_seccomp 384 +#define __NR_getrandom 385 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S index 342da7ebd80a..c7c806db61ce 100644 --- a/arch/microblaze/kernel/syscall_table.S +++ b/arch/microblaze/kernel/syscall_table.S @@ -385,3 +385,4 @@ ENTRY(sys_call_table) .long sys_sched_getattr .long sys_renameat2 .long sys_seccomp + .long sys_getrandom /* 385 */