repo.or.cz
/
qemu-kvm
/
amd-iommu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge remote branch 'upstream' into upstream-merge
[qemu-kvm/amd-iommu.git]
/
compat
/
sys
/
eventfd.h
blob
f55d96adb20d3c4dd4bd2f67eb68f84aee9e85bd
1
#ifndef _COMPAT_SYS_EVENTFD
2
#define _COMPAT_SYS_EVENTFD
3
4
#include <unistd.h>
5
#include <syscall.h>
6
7
8
static
inline
int
eventfd
(
int
count
,
int
flags
)
9
{
10
return
syscall
(
SYS_eventfd
,
count
,
flags
);
11
}
12
13
#endif