]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Introduce lm_alias
authorLaura Abbott <labbott@redhat.com>
Tue, 10 Jan 2017 21:35:42 +0000 (13:35 -0800)
committerWill Deacon <will.deacon@arm.com>
Wed, 11 Jan 2017 13:56:49 +0000 (13:56 +0000)
commitfb32216e834830089c38c299a6a756c1f45f4586
tree1c3f81b9fa7918f5590efd74072ebc40ebc7cfb4
parent26938dfdb24431a93c2d942ef8f6e478558f0a0c
mm: Introduce lm_alias

Certain architectures may have the kernel image mapped separately to
alias the linear map. Introduce a macro lm_alias to translate a kernel
image symbol into its linear alias. This is used in part with work to
add CONFIG_DEBUG_VIRTUAL support for arm64.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
include/linux/mm.h