projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mips_5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git]
/
samples
/
bpf
/
syscall_nrs.c
diff --git
a/samples/bpf/syscall_nrs.c
b/samples/bpf/syscall_nrs.c
index
516e255
..
88f9400
100644
(file)
--- a/
samples/bpf/syscall_nrs.c
+++ b/
samples/bpf/syscall_nrs.c
@@
-9,5
+9,11
@@
void syscall_defines(void)
COMMENT("Linux system call numbers.");
SYSNR(__NR_write);
SYSNR(__NR_read);
+#ifdef __NR_mmap2
+ SYSNR(__NR_mmap2);
+#endif
+#ifdef __NR_mmap
SYSNR(__NR_mmap);
+#endif
+
}