summaryrefslogtreecommitdiffstats
path: root/sys/arm64/arm64/swtch.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm64/arm64/swtch.S')
-rw-r--r--sys/arm64/arm64/swtch.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm64/arm64/swtch.S b/sys/arm64/arm64/swtch.S
index 35153c2..1b501a49 100644
--- a/sys/arm64/arm64/swtch.S
+++ b/sys/arm64/arm64/swtch.S
@@ -86,7 +86,7 @@ ENTRY(cpu_throw)
*/
/* Switch to the new pmap */
- ldr x5, [x4, #PCB_L1ADDR]
+ ldr x5, [x4, #PCB_L0ADDR]
msr ttbr0_el1, x5
isb
@@ -183,7 +183,7 @@ ENTRY(cpu_switch)
*/
/* Switch to the new pmap */
- ldr x5, [x4, #PCB_L1ADDR]
+ ldr x5, [x4, #PCB_L0ADDR]
msr ttbr0_el1, x5
isb
OpenPOWER on IntegriCloud