diff options
Diffstat (limited to 'include/linux/mempolicy.h')
-rw-r--r-- | include/linux/mempolicy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 59c4865bc85f..69160dc32d48 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h | |||
@@ -241,7 +241,7 @@ static inline void mpol_fix_fork_child_flag(struct task_struct *p) | |||
241 | static inline struct zonelist *huge_zonelist(struct vm_area_struct *vma, | 241 | static inline struct zonelist *huge_zonelist(struct vm_area_struct *vma, |
242 | unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol) | 242 | unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol) |
243 | { | 243 | { |
244 | return NODE_DATA(0)->node_zonelists + gfp_zone(gfp_flags); | 244 | return node_zonelist(0, gfp_flags); |
245 | } | 245 | } |
246 | 246 | ||
247 | static inline int do_migrate_pages(struct mm_struct *mm, | 247 | static inline int do_migrate_pages(struct mm_struct *mm, |