diff options
| author | Ingo Molnar <mingo@kernel.org> | 2025-05-25 10:10:08 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-05-25 10:10:08 +0200 |
| commit | 94ec70880fd376dd5cc60ba2bd7ddf830b3d4f28 (patch) | |
| tree | f0cb51c5eeadc2927c648b49c713f10809db5fd5 /include/uapi/linux/futex.h | |
| parent | cdb7d2d68cde6145a06a56c9d5d5d917297501c6 (diff) | |
| parent | 78272d44970c07899c78661f6b7492b5a7e14a90 (diff) | |
| download | linux-next-94ec70880fd376dd5cc60ba2bd7ddf830b3d4f28.tar.gz linux-next-94ec70880fd376dd5cc60ba2bd7ddf830b3d4f28.zip | |
Merge branch 'locking/futex' into locking/core, to pick up pending futex changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/uapi/linux/futex.h')
| -rw-r--r-- | include/uapi/linux/futex.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/futex.h b/include/uapi/linux/futex.h index d2ee625ea189..7e2744ec8933 100644 --- a/include/uapi/linux/futex.h +++ b/include/uapi/linux/futex.h @@ -63,7 +63,7 @@ #define FUTEX2_SIZE_U32 0x02 #define FUTEX2_SIZE_U64 0x03 #define FUTEX2_NUMA 0x04 - /* 0x08 */ +#define FUTEX2_MPOL 0x08 /* 0x10 */ /* 0x20 */ /* 0x40 */ @@ -75,6 +75,13 @@ #define FUTEX_32 FUTEX2_SIZE_U32 /* historical accident :-( */ /* + * When FUTEX2_NUMA doubles the futex word, the second word is a node value. + * The special value -1 indicates no-node. This is the same value as + * NUMA_NO_NODE, except that value is not ABI, this is. + */ +#define FUTEX_NO_NODE (-1) + +/* * Max numbers of elements in a futex_waitv array */ #define FUTEX_WAITV_MAX 128 |
