m68k: Wire up getrandom
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Aug 2014 19:41:41 +0000 (21:41 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 1 Sep 2014 08:28:00 +0000 (10:28 +0200)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/unistd.h
arch/m68k/include/uapi/asm/unistd.h
arch/m68k/kernel/syscalltable.S

index 1fcdd344c7ad5797605ddbb9ee98bcde3461c295..fbf8792f4179b731d75f5a8349af90536352c74b 100644 (file)
@@ -4,7 +4,7 @@
 #include <uapi/asm/unistd.h>
 
 
-#define NR_syscalls            352
+#define NR_syscalls            353
 
 #define __ARCH_WANT_OLD_READDIR
 #define __ARCH_WANT_OLD_STAT
index 9cd82fbc7817f716d589368bda3c1d274687a607..e906e3c1542e046516ca36435856794e981c8285 100644 (file)
 #define __NR_sched_setattr     349
 #define __NR_sched_getattr     350
 #define __NR_renameat2         351
+#define __NR_getrandom         352
 
 #endif /* _UAPI_ASM_M68K_UNISTD_H_ */
index 501e102127899c6afaa893bd99d4d555f5bab8ec..9307b488ce148621a9db60f81834b97671542a23 100644 (file)
@@ -372,4 +372,5 @@ ENTRY(sys_call_table)
        .long sys_sched_setattr
        .long sys_sched_getattr         /* 350 */
        .long sys_renameat2
+       .long sys_getrandom