drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / samples / bpf / syscall_nrs.c
bloba6e600f3d4776369b71eba659f7a9516b9b34c6c
1 // SPDX-License-Identifier: GPL-2.0
2 #include <uapi/linux/unistd.h>
3 #include <linux/kbuild.h>
5 #pragma GCC diagnostic push
6 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
8 #define SYSNR(_NR) DEFINE(SYS ## _NR, _NR)
10 void syscall_defines(void)
12 COMMENT("Linux system call numbers.");
13 SYSNR(__NR_write);
14 SYSNR(__NR_read);
15 #ifdef __NR_mmap2
16 SYSNR(__NR_mmap2);
17 #endif
18 #ifdef __NR_mmap
19 SYSNR(__NR_mmap);
20 #endif
24 #pragma GCC diagnostic pop