diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-06-24 17:06:48 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-06-24 17:18:10 +0100 |
commit | 005e12676af09a308f18cb94aa593bb30dee031e (patch) | |
tree | ba48f41b9eb2ea64d31a5efcda994ce05df5e44b /arch/m68k/lib | |
parent | 6495b9ba62711b581680fbdd90d0bfc48cf5c91b (diff) |
arm64: head: record CPU boot mode after enabling the MMU
In order to avoid having to touch memory with the MMU and caches
disabled, and therefore having to invalidate it from the caches
explicitly, just defer storing the value until after the MMU has been
turned on, unless we are giving up with an error.
While at it, move the associated variable definitions into C code.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-19-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/m68k/lib')
0 files changed, 0 insertions, 0 deletions