projects
/
linux-2.6-block.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'acpi-ec' into acpi-pm
[linux-2.6-block.git]
/
samples
/
bpf
/
syscall_nrs.c
1
#include <uapi/linux/unistd.h>
2
#include <linux/kbuild.h>
3
4
#define SYSNR(_NR) DEFINE(SYS ## _NR, _NR)
5
6
void syscall_defines(void)
7
{
8
COMMENT("Linux system call numbers.");
9
SYSNR(__NR_write);
10
SYSNR(__NR_read);
11
SYSNR(__NR_mmap);
12
}