blob: 65d6cfdb6d39c11098008268c6e97df7a3b5b462 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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