arm64: Fix label placement in record_mmu_state()
authorNeeraj Upadhyay <quic_neeraju@quicinc.com>
Tue, 25 Apr 2023 09:57:00 +0000 (15:27 +0530)
committerWill Deacon <will@kernel.org>
Wed, 26 Apr 2023 08:01:04 +0000 (09:01 +0100)
commit4e8f6e44bce8da3b0e2df37b12839f4bc9c9cabe
tree7674a9cd6f13cc1fd61b87903651c13181c8e8ed
parenteeb3557cc188e42ae7f7bef2d6dc5bf0e078412e
arm64: Fix label placement in record_mmu_state()

Fix label so that pre_disable_mmu_workaround() is called
before clearing sctlr_el1.M.

Fixes: 2ced0f30a426 ("arm64: head: Switch endianness before populating the ID map")
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20230425095700.22005-1-quic_neeraju@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/head.S