add __timedwait backend workaround for old kernels where futex EINTRs
[musl.git] / src / linux / cache.c
blob84a138a4158692d037b1c8aa56ea5d04b0d07ca6
1 #include "syscall.h"
3 #ifdef SYS_cacheflush
4 int _flush_cache(void *addr, int len, int op)
6 return syscall(SYS_cacheflush, addr, len, op);
8 weak_alias(_flush_cache, cacheflush);
9 #endif
11 #ifdef SYS_cachectl
12 int __cachectl(void *addr, int len, int op)
14 return syscall(SYS_cachectl, addr, len, op);
16 weak_alias(__cachectl, cachectl);
17 #endif