aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Cingel <cingel.marian@gmail.com>2026-01-03 14:45:27 +0000
committerAndrew Turner <andrew@FreeBSD.org>2026-01-06 10:36:37 +0000
commita9f2f92322f211921b955b13b088624efe7f901a (patch)
treec379bfdb668ca6797900523704029595aac9dff6
parent6748ac4ee7ce1e6e6888293cf855fed4eb734126 (diff)
-rw-r--r--sys/arm64/arm64/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
index c22d5fe76468..46d3bac576e8 100644
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -997,7 +997,7 @@ LEND(link_l2_pagetable)
* VA start (x8) modulo L3C_SIZE must equal PA start (x9) modulo L3C_SIZE.
*/
LENTRY(build_l3_page_pagetable)
- cbz x10, 2f
+ cbz x10, 4f
/*
* Build the L3 table entry.
*/
@@ -1037,7 +1037,7 @@ LENTRY(build_l3_page_pagetable)
add x11, x11, #1
add x9, x9, #1
cbnz x10, 1b
-2:
+4:
ret
LEND(build_l3_page_pagetable)