From 4226b662cddd5ce0b0d8a3abe45161a74b756a88 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 16 Aug 2021 23:29:25 +0200 Subject: Kernel+Userland: Remove global futexes We only ever use private futexes, so it doesn't make sense to carry around all the complexity required for global (cross-process) futexes. --- Kernel/API/POSIX/futex.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Kernel/API/POSIX') diff --git a/Kernel/API/POSIX/futex.h b/Kernel/API/POSIX/futex.h index 74f030c866..d814e9910e 100644 --- a/Kernel/API/POSIX/futex.h +++ b/Kernel/API/POSIX/futex.h @@ -52,9 +52,8 @@ extern "C" { #define FUTEX_WAIT_BITSET 9 #define FUTEX_WAKE_BITSET 10 -#define FUTEX_PRIVATE_FLAG (1 << 7) #define FUTEX_CLOCK_REALTIME (1 << 8) -#define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) +#define FUTEX_CMD_MASK ~(FUTEX_CLOCK_REALTIME) #define FUTEX_BITSET_MATCH_ANY 0xffffffff -- cgit v1.2.3