diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpuset.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index f8c9a2752f06..0a26be353cb3 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h | |||
@@ -26,8 +26,6 @@ extern nodemask_t cpuset_mems_allowed(struct task_struct *p); | |||
26 | #define cpuset_current_mems_allowed (current->mems_allowed) | 26 | #define cpuset_current_mems_allowed (current->mems_allowed) |
27 | void cpuset_init_current_mems_allowed(void); | 27 | void cpuset_init_current_mems_allowed(void); |
28 | void cpuset_update_task_memory_state(void); | 28 | void cpuset_update_task_memory_state(void); |
29 | #define cpuset_nodes_subset_current_mems_allowed(nodes) \ | ||
30 | nodes_subset((nodes), current->mems_allowed) | ||
31 | int cpuset_zonelist_valid_mems_allowed(struct zonelist *zl); | 29 | int cpuset_zonelist_valid_mems_allowed(struct zonelist *zl); |
32 | 30 | ||
33 | extern int __cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask); | 31 | extern int __cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask); |
@@ -103,7 +101,6 @@ static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) | |||
103 | #define cpuset_current_mems_allowed (node_states[N_HIGH_MEMORY]) | 101 | #define cpuset_current_mems_allowed (node_states[N_HIGH_MEMORY]) |
104 | static inline void cpuset_init_current_mems_allowed(void) {} | 102 | static inline void cpuset_init_current_mems_allowed(void) {} |
105 | static inline void cpuset_update_task_memory_state(void) {} | 103 | static inline void cpuset_update_task_memory_state(void) {} |
106 | #define cpuset_nodes_subset_current_mems_allowed(nodes) (1) | ||
107 | 104 | ||
108 | static inline int cpuset_zonelist_valid_mems_allowed(struct zonelist *zl) | 105 | static inline int cpuset_zonelist_valid_mems_allowed(struct zonelist *zl) |
109 | { | 106 | { |