aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mempolicy.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h
index 05fddd5bee5d..74357cb9bc7c 100644
--- a/include/linux/mempolicy.h
+++ b/include/linux/mempolicy.h
@@ -68,6 +68,7 @@ struct mempolicy {
68 nodemask_t nodes; /* interleave */ 68 nodemask_t nodes; /* interleave */
69 /* undefined for default */ 69 /* undefined for default */
70 } v; 70 } v;
71 nodemask_t cpuset_mems_allowed; /* mempolicy relative to these nodes */
71}; 72};
72 73
73/* 74/*
@@ -146,7 +147,9 @@ struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp,
146 147
147extern void numa_default_policy(void); 148extern void numa_default_policy(void);
148extern void numa_policy_init(void); 149extern void numa_policy_init(void);
149extern void numa_policy_rebind(const nodemask_t *old, const nodemask_t *new); 150extern void mpol_rebind_policy(struct mempolicy *pol, const nodemask_t *new);
151extern void mpol_rebind_task(struct task_struct *tsk,
152 const nodemask_t *new);
150extern struct mempolicy default_policy; 153extern struct mempolicy default_policy;
151extern struct zonelist *huge_zonelist(struct vm_area_struct *vma, 154extern struct zonelist *huge_zonelist(struct vm_area_struct *vma,
152 unsigned long addr); 155 unsigned long addr);
@@ -221,7 +224,12 @@ static inline void numa_default_policy(void)
221{ 224{
222} 225}
223 226
224static inline void numa_policy_rebind(const nodemask_t *old, 227static inline void mpol_rebind_policy(struct mempolicy *pol,
228 const nodemask_t *new)
229{
230}
231
232static inline void mpol_rebind_task(struct task_struct *tsk,
225 const nodemask_t *new) 233 const nodemask_t *new)
226{ 234{
227} 235}