diff options
Diffstat (limited to 'include/linux/futex.h')
-rw-r--r-- | include/linux/futex.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/futex.h b/include/linux/futex.h new file mode 100644 index 000000000000..65d6cfdb6d39 --- /dev/null +++ b/include/linux/futex.h @@ -0,0 +1,17 @@ +#ifndef _LINUX_FUTEX_H +#define _LINUX_FUTEX_H + +/* Second argument to futex syscall */ + + +#define FUTEX_WAIT (0) +#define FUTEX_WAKE (1) +#define FUTEX_FD (2) +#define FUTEX_REQUEUE (3) +#define FUTEX_CMP_REQUEUE (4) + +long do_futex(unsigned long uaddr, int op, int val, + unsigned long timeout, unsigned long uaddr2, int val2, + int val3); + +#endif |