commit | a4f174dee4ae842e07cab7eeec194a3e60925c8d | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Mon Oct 27 08:35:11 2014 +0100 |
committer | Michal Simek <michal.simek@xilinx.com> | Mon Oct 27 09:25:34 2014 +0100 |
tree | 58e950e961cadbf879acc14eab599b5877794e04 | |
parent | 70dcd942dc4af3cc6c3dcc2ba499cd841c7f65a7 [diff] |
microblaze: Wire up bpf syscall Add new bpf syscall. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h index ea4b233..0a53362 100644 --- a/arch/microblaze/include/asm/unistd.h +++ b/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 */
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index 1c2380b..c712677 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/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 */
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S index de59ee1..0166e89 100644 --- a/arch/microblaze/kernel/syscall_table.S +++ b/arch/microblaze/kernel/syscall_table.S
@@ -387,3 +387,4 @@ .long sys_seccomp .long sys_getrandom /* 385 */ .long sys_memfd_create + .long sys_bpf