aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-01-11 17:45:57 +0000
committerMark Johnston <markj@FreeBSD.org>2025-01-11 17:45:57 +0000
commit159d29d3948294cdc9ee4cc3951d004de6797a32 (patch)
tree0db7c05e6685c2b29a0f160292a4197b88b5d3f5
parent6eae413a25450c99a5d91d443569c3c1a51b4a4d (diff)
clock: Use .balign to align ticksl
The .align directive has a different behaviour on 32-bit arm than on other platforms. Use .balign instead, which has consistent behaviour on all architectures. Reported by: kib Reviewed by: jrtc27, kib Fixes: 6b82130e6c9a ("clock: Add a long ticks variable, ticksl") Differential Revision: https://reviews.freebsd.org/D48430
-rw-r--r--sys/kern/subr_ticks.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_ticks.S b/sys/kern/subr_ticks.S
index 52435b194c4f..ad01d5d67165 100644
--- a/sys/kern/subr_ticks.S
+++ b/sys/kern/subr_ticks.S
@@ -26,7 +26,7 @@ GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL)
.global ticksl
.type ticksl, %object
- .align __SIZEOF_LONG__
+ .balign __SIZEOF_LONG__
ticksl: .zero __SIZEOF_LONG__
.size ticksl, __SIZEOF_LONG__