diff options
Diffstat (limited to 'include/linux/cpuset.h')
-rw-r--r-- | include/linux/cpuset.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index 9e633ea103ce..ea44d2e768a0 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h | |||
@@ -45,7 +45,8 @@ static int inline cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) | |||
45 | __cpuset_zone_allowed_hardwall(z, gfp_mask); | 45 | __cpuset_zone_allowed_hardwall(z, gfp_mask); |
46 | } | 46 | } |
47 | 47 | ||
48 | extern int cpuset_excl_nodes_overlap(const struct task_struct *p); | 48 | extern int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, |
49 | const struct task_struct *tsk2); | ||
49 | 50 | ||
50 | #define cpuset_memory_pressure_bump() \ | 51 | #define cpuset_memory_pressure_bump() \ |
51 | do { \ | 52 | do { \ |
@@ -113,7 +114,8 @@ static inline int cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) | |||
113 | return 1; | 114 | return 1; |
114 | } | 115 | } |
115 | 116 | ||
116 | static inline int cpuset_excl_nodes_overlap(const struct task_struct *p) | 117 | static inline int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, |
118 | const struct task_struct *tsk2) | ||
117 | { | 119 | { |
118 | return 1; | 120 | return 1; |
119 | } | 121 | } |