[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <802f4db7e2e75ed94f8e5b266c562755728a1423.1414398260.git.michal.simek@xilinx.com>
Date: Mon, 27 Oct 2014 09:24:35 +0100
From: Michal Simek <michal.simek@...inx.com>
To: linux-kernel@...r.kernel.org, monstr@...str.eu
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Fabian Frederick <fabf@...net.be>
Subject: [PATCH 3/3] microblaze: Wire up bpf syscall
Add new bpf syscall.
Signed-off-by: Michal Simek <michal.simek@...inx.com>
---
arch/microblaze/include/asm/unistd.h | 2 +-
arch/microblaze/include/uapi/asm/unistd.h | 1 +
arch/microblaze/kernel/syscall_table.S | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h
index ea4b233647c1..0a53362d5548 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 1c2380bf8fe6..c712677f8a2a 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 de59ee1d7010..0166e890486c 100644
--- a/arch/microblaze/kernel/syscall_table.S
+++ b/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
--
1.8.2.3
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists