Nitin Gupta 25788738eb mm: fix compile error due to COMPACTION_HPAGE_ORDER
Fix compile error when COMPACTION_HPAGE_ORDER is assigned to
HUGETLB_PAGE_ORDER.  The correct way to check if this constant is defined
is to check for CONFIG_HUGETLBFS.

Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Nitin Gupta <nigupta@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Link: http://lkml.kernel.org/r/20200623064544.25766-1-nigupta@nvidia.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-12 10:57:56 -07:00
..
2020-08-09 14:10:26 -07:00
2020-04-07 10:43:41 -07:00
2020-08-12 10:57:56 -07:00
2020-08-07 10:33:50 -07:00
2020-08-07 11:33:26 -07:00
2020-06-08 11:05:55 -07:00
2020-08-07 11:33:28 -07:00
2019-09-17 15:20:17 -07:00
2020-08-12 10:57:56 -07:00
2020-06-04 19:06:24 -07:00