diff options
Diffstat (limited to 'include/linux/mempolicy.h')
-rw-r--r-- | include/linux/mempolicy.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 817db6427113..b972f985a3c5 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h | |||
@@ -110,14 +110,6 @@ static inline int mpol_equal(struct mempolicy *a, struct mempolicy *b) | |||
110 | #define mpol_set_vma_default(vma) ((vma)->vm_policy = NULL) | 110 | #define mpol_set_vma_default(vma) ((vma)->vm_policy = NULL) |
111 | 111 | ||
112 | /* | 112 | /* |
113 | * Hugetlb policy. i386 hugetlb so far works with node numbers | ||
114 | * instead of zone lists, so give it special interfaces for now. | ||
115 | */ | ||
116 | extern int mpol_first_node(struct vm_area_struct *vma, unsigned long addr); | ||
117 | extern int mpol_node_valid(int nid, struct vm_area_struct *vma, | ||
118 | unsigned long addr); | ||
119 | |||
120 | /* | ||
121 | * Tree of shared policies for a shared memory region. | 113 | * Tree of shared policies for a shared memory region. |
122 | * Maintain the policies in a pseudo mm that contains vmas. The vmas | 114 | * Maintain the policies in a pseudo mm that contains vmas. The vmas |
123 | * carry the policy. As a special twist the pseudo mm is indexed in pages, not | 115 | * carry the policy. As a special twist the pseudo mm is indexed in pages, not |
@@ -184,17 +176,6 @@ static inline struct mempolicy *mpol_copy(struct mempolicy *old) | |||
184 | return NULL; | 176 | return NULL; |
185 | } | 177 | } |
186 | 178 | ||
187 | static inline int mpol_first_node(struct vm_area_struct *vma, unsigned long a) | ||
188 | { | ||
189 | return numa_node_id(); | ||
190 | } | ||
191 | |||
192 | static inline int | ||
193 | mpol_node_valid(int nid, struct vm_area_struct *vma, unsigned long a) | ||
194 | { | ||
195 | return 1; | ||
196 | } | ||
197 | |||
198 | struct shared_policy {}; | 179 | struct shared_policy {}; |
199 | 180 | ||
200 | static inline int mpol_set_shared_policy(struct shared_policy *info, | 181 | static inline int mpol_set_shared_policy(struct shared_policy *info, |