Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[arch][arm] Enable caches early if WITH_KERNEL_VM is set
Spinlocks and atomic operations may not work on uncached memory. If WITH_KERNEL_VM is set, the mmu is enabled early (with cached) mappings, but unless the caches are also enabled in SCTLR they may not work. Also, initialize SCTLR on secondary cpus. Change-Id: Icaa186ed582be0df7cb531731334239ea1e19f2e Signed-off-by: Arve Hjønnevåg <arve@android.com>
- Loading branch information