Commit 85506595 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restorer: Drop futex constants

We don't use them yet, no need to carry.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent b7121823
......@@ -221,20 +221,6 @@ static void always_inline write_hex_n(unsigned long num)
sys_write(1, &c, 1);
}
#define FUTEX_WAIT 0
#define FUTEX_WAKE 1
#define FUTEX_FD 2
#define FUTEX_REQUEUE 3
#define FUTEX_CMP_REQUEUE 4
#define FUTEX_WAKE_OP 5
#define FUTEX_LOCK_PI 6
#define FUTEX_UNLOCK_PI 7
#define FUTEX_TRYLOCK_PI 8
#define FUTEX_WAIT_BITSET 9
#define FUTEX_WAKE_BITSET 10
#define FUTEX_WAIT_REQUEUE_PI 11
#define FUTEX_CMP_REQUEUE_PI 12
static always_inline void r_lock(rlock_t *v)
{
while (*v) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment