]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
arm64: mm: Separate out vmemmap
authorSteve Capper <steve.capper@arm.com>
Wed, 7 Aug 2019 15:55:20 +0000 (16:55 +0100)
committerWill Deacon <will@kernel.org>
Fri, 9 Aug 2019 10:17:25 +0000 (11:17 +0100)
commitc8b6d2ccf9b10ce872cdea037f9685804440bb7e
tree5b38adefb8f977e7f37e37da5efc98d34383867c
parentc812026c54cfaec23fa1d78cdbfd0e56e787470a
arm64: mm: Separate out vmemmap

vmemmap is a preprocessor definition that depends on a variable,
memstart_addr. In a later patch we will need to expand the size of
the VMEMMAP region and optionally modify vmemmap depending upon
whether or not hardware support is available for 52-bit virtual
addresses.

This patch changes vmemmap to be a variable. As the old definition
depended on a variable load, this should not affect performance
noticeably.

Signed-off-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/pgtable.h
arch/arm64/mm/init.c