aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/futex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/futex.h')
-rw-r--r--include/linux/futex.h17
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 @@
1#ifndef _LINUX_FUTEX_H
2#define _LINUX_FUTEX_H
3
4/* Second argument to futex syscall */
5
6
7#define FUTEX_WAIT (0)
8#define FUTEX_WAKE (1)
9#define FUTEX_FD (2)
10#define FUTEX_REQUEUE (3)
11#define FUTEX_CMP_REQUEUE (4)
12
13long do_futex(unsigned long uaddr, int op, int val,
14 unsigned long timeout, unsigned long uaddr2, int val2,
15 int val3);
16
17#endif