diff options
author | 2023-12-05 11:05:30 +0800 | |
---|---|---|
committer | 2023-12-12 10:57:08 -0800 | |
commit | 47e61d8874cca8070d4f9295819876c18b5207b2 (patch) | |
tree | 300411ac8699adae90e5138bb732252b102da7da /mm/cma.c | |
parent | mm: filemap: remove unnecessary iitialization of ret (diff) | |
download | wireguard-linux-47e61d8874cca8070d4f9295819876c18b5207b2.tar.xz wireguard-linux-47e61d8874cca8070d4f9295819876c18b5207b2.zip |
mm: hugetlb_vmemmap: add check of CONFIG_MEMORY_HOTPLUG back
The compiler will optimize the code as much as possible if we add the
check of CONFIG_MEMORY_HOTPLUG back.
Link: https://lkml.kernel.org/r/20231205030530.3802-1-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions