ソースを参照

microblaze: Wire up bpf syscall

Add new bpf syscall.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 10 年 前
コミット
a4f174dee4

+ 1 - 1
arch/microblaze/include/asm/unistd.h

@@ -38,6 +38,6 @@
 
 #endif /* __ASSEMBLY__ */
 
-#define __NR_syscalls         387
+#define __NR_syscalls         388
 
 #endif /* _ASM_MICROBLAZE_UNISTD_H */

+ 1 - 0
arch/microblaze/include/uapi/asm/unistd.h

@@ -402,5 +402,6 @@
 #define __NR_seccomp		384
 #define __NR_getrandom		385
 #define __NR_memfd_create	386
+#define __NR_bpf		387
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */

+ 1 - 0
arch/microblaze/kernel/syscall_table.S

@@ -387,3 +387,4 @@ ENTRY(sys_call_table)
 	.long sys_seccomp
 	.long sys_getrandom		/* 385 */
 	.long sys_memfd_create
+	.long sys_bpf