Rev 422 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
422 | giacomo | 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 | |||
12 | |||
13 | asmlinkage long sys_futex(u32 __user *uaddr, int op, int val, |
||
14 | struct timespec __user *utime, u32 __user *uaddr2); |
||
15 | |||
16 | |||
17 | long do_futex(unsigned long uaddr, int op, int val, |
||
18 | unsigned long timeout, unsigned long uaddr2, int val2); |
||
19 | |||
20 | #endif |