arm64: mm: get rid of kimage_vaddr global variable
authorArd Biesheuvel <ardb@kernel.org>
Wed, 29 Nov 2023 11:15:59 +0000 (12:15 +0100)
committerWill Deacon <will@kernel.org>
Tue, 12 Dec 2023 11:06:28 +0000 (11:06 +0000)
commit376f5a3bd7e21337dc41f7abb56c2c74ac63038a
tree01e6fce495ac6e9eb12deee9dfb398e7f82e041c
parenta22fc8e102dc475e91dc13e6e1e395f4d95ae684
arm64: mm: get rid of kimage_vaddr global variable

We store the address of _text in kimage_vaddr, but since commit
09e3c22a86f6889d ("arm64: Use a variable to store non-global mappings
decision"), we no longer reference this variable from modules so we no
longer need to export it.

In fact, we don't need it at all so let's just get rid of it.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20231129111555.3594833-46-ardb@google.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/memory.h
arch/arm64/kernel/head.S
arch/arm64/mm/mmu.c