diff options
author | 2018-09-24 14:51:13 +0100 | |
---|---|---|
committer | 2018-09-25 15:10:54 +0100 | |
commit | 693d5639b44a8f3787444902d3600edc7e0105a2 (patch) | |
tree | 267c8373804ad6d7e3ee3440f99164836e1262b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: lse: remove -fcall-used-x0 flag (diff) | |
download | linux-dev-693d5639b44a8f3787444902d3600edc7e0105a2.tar.xz linux-dev-693d5639b44a8f3787444902d3600edc7e0105a2.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions