Skip to content
Commit 4df69e0d authored by ndesaulniers@google.com's avatar ndesaulniers@google.com Committed by Will Deacon
Browse files

arm64: kernel: remove SHF_WRITE|SHF_EXECINSTR from .idmap.text



commit d5417081 ("arm64: fix .idmap.text assertion for large kernels")
modified some of the section assembler directives that declare
.idmap.text to be SHF_ALLOC instead of
SHF_ALLOC|SHF_WRITE|SHF_EXECINSTR.

This patch fixes up the remaining stragglers that were left behind.  Add
Fixes tag so that this doesn't precede related change in stable.

Fixes: d5417081 ("arm64: fix .idmap.text assertion for large kernels")
Reported-by: default avatarGreg Thelen <gthelen@google.com>
Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20230428-awx-v2-1-b197ffa16edc@google.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent eda081d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment