forked from luck/tmp_suning_uos_patched
18 lines
342 B
C
18 lines
342 B
C
|
#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
|