diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2021-05-24 10:40:30 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-25 21:23:56 +0300 |
commit | 40221c737608cf324870c58ef063159c3a6a4c81 (patch) | |
tree | a3ea770687670e09af8496ede776dfecfe9abbe2 /tools/perf/scripts/python/syscall-counts.py | |
parent | e377ab82311af95c99648c6424a6b888a0ccb102 (diff) | |
download | linux-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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions