diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mempolicy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 07350d7b8d96..02b11efd7066 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h | |||
@@ -25,12 +25,13 @@ enum { | |||
25 | 25 | ||
26 | /* Flags for set_mempolicy */ | 26 | /* Flags for set_mempolicy */ |
27 | #define MPOL_F_STATIC_NODES (1 << 15) | 27 | #define MPOL_F_STATIC_NODES (1 << 15) |
28 | #define MPOL_F_RELATIVE_NODES (1 << 14) | ||
28 | 29 | ||
29 | /* | 30 | /* |
30 | * MPOL_MODE_FLAGS is the union of all possible optional mode flags passed to | 31 | * MPOL_MODE_FLAGS is the union of all possible optional mode flags passed to |
31 | * either set_mempolicy() or mbind(). | 32 | * either set_mempolicy() or mbind(). |
32 | */ | 33 | */ |
33 | #define MPOL_MODE_FLAGS (MPOL_F_STATIC_NODES) | 34 | #define MPOL_MODE_FLAGS (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES) |
34 | 35 | ||
35 | /* Flags for get_mempolicy */ | 36 | /* Flags for get_mempolicy */ |
36 | #define MPOL_F_NODE (1<<0) /* return next IL mode instead of node mask */ | 37 | #define MPOL_F_NODE (1<<0) /* return next IL mode instead of node mask */ |