Skip to content

Commit 5dab4b7

Browse files
committed
[IA64] Enable bpf syscall for ia64
See commit 99c55f7 bpf: introduce BPF syscall and maps Signed-off-by: Tony Luck <tony.luck@intel.com>
1 parent b4fc1a4 commit 5dab4b7

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎arch/ia64/include/asm/unistd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313

14-
#define NR_syscalls 317 /* length of syscall table */
14+
#define NR_syscalls 318 /* length of syscall table */
1515

1616
/*
1717
* The following defines stop scripts/checksyscalls.sh from complaining about

‎arch/ia64/include/uapi/asm/unistd.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,5 +330,6 @@
330330
#define __NR_renameat2 1338
331331
#define __NR_getrandom 1339
332332
#define __NR_memfd_create 1340
333+
#define __NR_bpf 1341
333334

334335
#endif /* _UAPI_ASM_IA64_UNISTD_H */

‎arch/ia64/kernel/entry.S‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,6 +1778,7 @@ sys_call_table:
17781778
data8 sys_renameat2
17791779
data8 sys_getrandom
17801780
data8 sys_memfd_create // 1340
1781+
data8 sys_bpf
17811782

17821783
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
17831784
#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */

0 commit comments

Comments
 (0)