summaryrefslogtreecommitdiff
path: root/arch/arm64/mm/ptdump.c
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2021-05-24 10:40:30 +0300
committerWill Deacon <will@kernel.org>2021-05-25 21:23:56 +0300
commit40221c737608cf324870c58ef063159c3a6a4c81 (patch)
treea3ea770687670e09af8496ede776dfecfe9abbe2 /arch/arm64/mm/ptdump.c
parente377ab82311af95c99648c6424a6b888a0ccb102 (diff)
downloadlinux-40221c737608cf324870c58ef063159c3a6a4c81.tar.xz
arm64/mm: Make vmemmap_free() available only with CONFIG_MEMORY_HOTPLUG
vmemmap_free() callsites (mm/sparse.c) and declaration (include/linux/mm.h) are protected with CONFIG_MEMORY_HOTPLUG. This function is not required if CONFIG_MEMORY_HOTPLUG is not enabled. Hence move the config wrapper outside the function definition. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Link: https://lore.kernel.org/r/1621842030-23256-1-git-send-email-anshuman.khandual@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/mm/ptdump.c')
0 files changed, 0 insertions, 0 deletions