[IA64] Enable bpf syscall for ia64
authorTony Luck <tony.luck@intel.com>
Thu, 9 Oct 2014 20:26:58 +0000 (13:26 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 9 Oct 2014 20:36:10 +0000 (13:36 -0700)
See commit 99c55f7d47c0dc6fc64729f37bf435abf43f4c60
   bpf: introduce BPF syscall and maps

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/unistd.h
arch/ia64/include/uapi/asm/unistd.h
arch/ia64/kernel/entry.S

index 10a14ead70b9d9fd627b416c8567008d1aebc606..f3b51b57740af91e097a7b4b37b4067b5873cd44 100644 (file)
@@ -11,7 +11,7 @@
 
 
 
-#define NR_syscalls                    317 /* length of syscall table */
+#define NR_syscalls                    318 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about
index 18026b2eb5823c86ab0455088e9b3b1b0c409393..4c2240c1b0cb4b81e219631750c4e61f82ffb750 100644 (file)
 #define __NR_renameat2                 1338
 #define __NR_getrandom                 1339
 #define __NR_memfd_create              1340
+#define __NR_bpf                       1341
 
 #endif /* _UAPI_ASM_IA64_UNISTD_H */
index 01edf242eb296443293fc8b1ee178d72d0a89f55..f5e96dffc63c3d0ce54399759ceb9a5fefacde15 100644 (file)
@@ -1778,6 +1778,7 @@ sys_call_table:
        data8 sys_renameat2
        data8 sys_getrandom
        data8 sys_memfd_create                  // 1340
+       data8 sys_bpf
 
        .org sys_call_table + 8*NR_syscalls     // guard against failures to increase NR_syscalls
 #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */