mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:6b82130e6c("clock: Add a long ticks variable, ticksl") Differential Revision: https://reviews.freebsd.org/D48430 (cherry picked from commit159d29d394)
This commit is contained in:
parent
a267ceaf39
commit
3e6fddaf80
1 changed files with 1 additions and 1 deletions
|
|
@ -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__
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue