diff options
author | Jun Yao <yaojun8558363@gmail.com> | 2018-09-24 14:51:13 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-09-25 15:10:54 +0100 |
commit | 693d5639b44a8f3787444902d3600edc7e0105a2 (patch) | |
tree | 267c8373804ad6d7e3ee3440f99164836e1262b7 /arch/arm64/mm/mmu.c | |
parent | 2a6c7c367de82951c98a290a21156770f6f82c84 (diff) |
arm64/mm: Pass ttbr1 as a parameter to __enable_mmu()
In subsequent patches we'll use a transient pgd during the primary cpu's
boot process. To make this work while allowing secondary cpus to use the
swapper_pg_dir, we need to pass the relevant TTBR1 pgd as a parameter
to __enable_mmu().
This patch updates __enable__mmu() to take this as a parameter, updating
callsites to pass swapper_pg_dir for now.
There should be no functional change as a result of this patch.
Signed-off-by: Jun Yao <yaojun8558363@gmail.com>
Reviewed-by: James Morse <james.morse@arm.com>
[Mark: simplify assembly, clarify commit message]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/mmu.c')
0 files changed, 0 insertions, 0 deletions