diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-08-07 09:59:05 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-08-21 04:07:05 -0400 |
commit | 53133453a9f791dff5b6403bc2f1208b474ae792 (patch) | |
tree | 013fc2feecaf7ddb53edcdce1e4f91ca1ec421af /arch | |
parent | b7609491446c73240f60af4b691a9f8b377f2025 (diff) |
microblaze: Wire-up getrandom syscall
Add new getrandom syscall.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/include/uapi/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/microblaze/kernel/syscall_table.S | 1 |
2 files changed, 2 insertions, 0 deletions
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 @@ | |||
400 | #define __NR_sched_getattr 382 | 400 | #define __NR_sched_getattr 382 |
401 | #define __NR_renameat2 383 | 401 | #define __NR_renameat2 383 |
402 | #define __NR_seccomp 384 | 402 | #define __NR_seccomp 384 |
403 | #define __NR_getrandom 385 | ||
403 | 404 | ||
404 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ | 405 | #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) | |||
385 | .long sys_sched_getattr | 385 | .long sys_sched_getattr |
386 | .long sys_renameat2 | 386 | .long sys_renameat2 |
387 | .long sys_seccomp | 387 | .long sys_seccomp |
388 | .long sys_getrandom /* 385 */ | ||