Skip to content

Commit

Permalink
arm64: Test a build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zxombie committed Sep 10, 2024
1 parent 70a40d9 commit 2c7bbca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/arm64/arm64/swtch.S
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@

.macro pid_in_context_idr label
adrp x9, arm64_pid_in_contextidr
ldr x10, [x9, :lo12:arm64_pid_in_contextidr]
cbz x10, \label
ldrb w10, [x9, :lo12:arm64_pid_in_contextidr]
cbz w10, \label
ldr x9, [x1, #TD_PROC]
ldr x10, [x9, #PR_PID]
ldr w10, [x9, #PR_PID]
msr contextidr_el1, x10
.endm

Expand Down

0 comments on commit 2c7bbca

Please sign in to comment.