]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: move kimage_vaddr to .rodata
authorRemi Denis-Courmont <remi.denis.courmont@huawei.com>
Thu, 12 Mar 2020 09:40:02 +0000 (11:40 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 24 Mar 2020 11:48:24 +0000 (11:48 +0000)
commit8df81adea7f983969bb655547f3af11fead724a7
tree74f2c68a6dba44562b9e42b10955f4daab0f4565
parente2d0b7b088c0b8d6ad3403ca0d1840acbd814e01
arm64: move kimage_vaddr to .rodata

This datum is not referenced from .idmap.text: it does not need to be
mapped in idmap. Lets move it to .rodata as it is never written to after
early boot of the primary CPU.
(Maybe .data.ro_after_init would be cleaner though?)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/head.S