OSDN Git Service

parisc: Wire up bpf syscall
authorHelge Deller <deller@gmx.de>
Tue, 21 Oct 2014 19:27:06 +0000 (21:27 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 10 Nov 2014 21:20:40 +0000 (22:20 +0100)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/uapi/asm/unistd.h
arch/parisc/kernel/syscall_table.S

index 8667f18..5f5c037 100644 (file)
 #define __NR_seccomp           (__NR_Linux + 338)
 #define __NR_getrandom         (__NR_Linux + 339)
 #define __NR_memfd_create      (__NR_Linux + 340)
+#define __NR_bpf               (__NR_Linux + 341)
 
-#define __NR_Linux_syscalls    (__NR_memfd_create + 1)
+#define __NR_Linux_syscalls    (__NR_bpf + 1)
 
 
 #define __IGNORE_select                /* newselect */
index b563d9c..d65c50a 100644 (file)
        ENTRY_SAME(seccomp)
        ENTRY_SAME(getrandom)
        ENTRY_SAME(memfd_create)        /* 340 */
+       ENTRY_SAME(bpf)
 
        /* Nothing yet */