summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/mempolicy.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/mempolicy.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/mempolicy.h')
-rw-r--r--include/arch/x86_64/linux/mempolicy.h12
1 files changed, 5 insertions, 7 deletions
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 */