diff options
author | 2021-05-24 13:10:30 +0530 | |
---|---|---|
committer | 2021-05-25 19:23:56 +0100 | |
commit | 40221c737608cf324870c58ef063159c3a6a4c81 (patch) | |
tree | a3ea770687670e09af8496ede776dfecfe9abbe2 /drivers/pci/controller/dwc/pci-keystone.c | |
parent | arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad() (diff) | |
download | wireguard-linux-40221c737608cf324870c58ef063159c3a6a4c81.tar.xz wireguard-linux-40221c737608cf324870c58ef063159c3a6a4c81.zip |
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 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions