From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- include/arch/x86_64/linux/mempolicy.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'include/arch/x86_64/linux/mempolicy.h') diff --git a/include/arch/x86_64/linux/mempolicy.h b/include/arch/x86_64/linux/mempolicy.h index 3e1b25c9..e9e54747 100644 --- a/include/arch/x86_64/linux/mempolicy.h +++ b/include/arch/x86_64/linux/mempolicy.h @@ -29,15 +29,13 @@ enum { /* Flags for set_mempolicy */ #define MPOL_F_STATIC_NODES (1 << 15) #define MPOL_F_RELATIVE_NODES (1 << 14) -#define MPOL_F_NUMA_BALANCING \ - (1 << 13) /* Optimize with NUMA balancing if possible */ +#define MPOL_F_NUMA_BALANCING (1 << 13) /* Optimize with NUMA balancing if possible */ /* * MPOL_MODE_FLAGS is the union of all possible optional mode flags passed to * either set_mempolicy() or mbind(). */ -#define MPOL_MODE_FLAGS \ - (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES | MPOL_F_NUMA_BALANCING) +#define MPOL_MODE_FLAGS (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES | MPOL_F_NUMA_BALANCING) /* Flags for get_mempolicy */ #define MPOL_F_NODE (1 << 0) /* return next IL mode instead of node mask */ @@ -46,9 +44,9 @@ enum { /* Flags for mbind */ #define MPOL_MF_STRICT (1 << 0) /* Verify existing pages in the mapping */ -#define MPOL_MF_MOVE \ - (1 << 1) /* Move pages owned by this process to conform \ - to policy */ +#define MPOL_MF_MOVE \ + (1 << 1) /* Move pages owned by this process to conform \ + to policy */ #define MPOL_MF_MOVE_ALL (1 << 2) /* Move every page to conform to policy */ #define MPOL_MF_LAZY (1 << 3) /* UNSUPPORTED FLAG: Lazy migrate on fault */ #define MPOL_MF_INTERNAL (1 << 4) /* Internal flags start here */ -- cgit v1.2.3