repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i2c: qcom-geni: Provide support for ACPI
[linux/fpc-iii.git]
/
samples
/
bpf
/
syscall_nrs.c
blob
516e255cbe8fe2f5ac67b34317bbbadfd69d1535
1
// SPDX-License-Identifier: GPL-2.0
2
#include <uapi/linux/unistd.h>
3
#include <linux/kbuild.h>
4
5
#define SYSNR(_NR) DEFINE(SYS ## _NR, _NR)
6
7
void
syscall_defines
(
void
)
8
{
9
COMMENT
(
"Linux system call numbers."
);
10
SYSNR
(
__NR_write
);
11
SYSNR
(
__NR_read
);
12
SYSNR
(
__NR_mmap
);
13
}