projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syslet v4 support
[fio.git]
/
os-linux.h
diff --git
a/os-linux.h
b/os-linux.h
index eb60034cc7d4fad59816925c382b090bdf50a918..549694a468081b31208486dbf4605191dd054fa5 100644
(file)
--- a/
os-linux.h
+++ b/
os-linux.h
@@
-91,7
+91,7
@@
struct async_head_user;
static inline struct syslet_uatom *
async_exec(struct syslet_uatom *atom, struct async_head_user *ahu)
{
static inline struct syslet_uatom *
async_exec(struct syslet_uatom *atom, struct async_head_user *ahu)
{
- return syscall(__NR_async_exec, atom, ahu);
+ return
(void *)
syscall(__NR_async_exec, atom, ahu);
}
static inline long
}
static inline long
@@
-102,9
+102,9
@@
async_wait(unsigned long min_wait_events, unsigned long user_ring_idx,
user_ring_idx, ahu);
}
user_ring_idx, ahu);
}
-static inline long async_thread(void)
+static inline long async_thread(void
*event, struct async_head_user *ahu
)
{
{
- return syscall(__NR_async_thread);
+ return syscall(__NR_async_thread
, event, ahu
);
}
static inline long umem_add(unsigned long *uptr, unsigned long inc)
}
static inline long umem_add(unsigned long *uptr, unsigned long inc)