|
@@ -1,5 +1,21 @@
|
|
|
#include <linux/futex.h>
|
|
|
|
|
|
+#ifndef FUTEX_WAIT_BITSET
|
|
|
+#define FUTEX_WAIT_BITSET 9
|
|
|
+#endif
|
|
|
+#ifndef FUTEX_WAKE_BITSET
|
|
|
+#define FUTEX_WAKE_BITSET 10
|
|
|
+#endif
|
|
|
+#ifndef FUTEX_WAIT_REQUEUE_PI
|
|
|
+#define FUTEX_WAIT_REQUEUE_PI 11
|
|
|
+#endif
|
|
|
+#ifndef FUTEX_CMP_REQUEUE_PI
|
|
|
+#define FUTEX_CMP_REQUEUE_PI 12
|
|
|
+#endif
|
|
|
+#ifndef FUTEX_CLOCK_REALTIME
|
|
|
+#define FUTEX_CLOCK_REALTIME 256
|
|
|
+#endif
|
|
|
+
|
|
|
static size_t syscall_arg__scnprintf_futex_op(char *bf, size_t size, struct syscall_arg *arg)
|
|
|
{
|
|
|
enum syscall_futex_args {
|