diff options
author | Nitin Gupta <nigupta@nvidia.com> | 2020-08-12 03:31:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-12 19:57:56 +0200 |
commit | 25788738eb9ce46fe6a0fd84a3ceef5c795d41f0 (patch) | |
tree | 3998e6bdbc21e5462079a366d678ba82e9190b4b /mm/vmstat.c | |
parent | mm: proactive compaction (diff) | |
download | linux-25788738eb9ce46fe6a0fd84a3ceef5c795d41f0.tar.xz linux-25788738eb9ce46fe6a0fd84a3ceef5c795d41f0.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions