aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 244194217e39..226910cb7c9b 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -544,7 +544,7 @@ static struct page *dequeue_huge_page_node(struct hstate *h, int nid)
544/* Movability of hugepages depends on migration support. */ 544/* Movability of hugepages depends on migration support. */
545static inline gfp_t htlb_alloc_mask(struct hstate *h) 545static inline gfp_t htlb_alloc_mask(struct hstate *h)
546{ 546{
547 if (hugepages_treat_as_movable || hugepage_migration_support(h)) 547 if (hugepages_treat_as_movable || hugepage_migration_supported(h))
548 return GFP_HIGHUSER_MOVABLE; 548 return GFP_HIGHUSER_MOVABLE;
549 else 549 else
550 return GFP_HIGHUSER; 550 return GFP_HIGHUSER;