Page MenuHomeFreeBSD

clock: Use .balign to align ticksl
ClosedPublic

Authored by markj on Sat, Jan 11, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 5:54 AM
Unknown Object (File)
Tue, Jan 14, 12:08 PM
Unknown Object (File)
Tue, Jan 14, 8:57 AM
Unknown Object (File)
Mon, Jan 13, 12:16 PM
Unknown Object (File)
Mon, Jan 13, 8:45 AM
Unknown Object (File)
Mon, Jan 13, 12:09 AM
Unknown Object (File)
Sun, Jan 12, 9:33 PM
Unknown Object (File)
Sat, Jan 11, 9:24 PM
Subscribers

Details

Summary

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
Fixes: 6b82130e6c9a ("clock: Add a long ticks variable, ticksl")

Test Plan

Booted an armv7 kernel in qemu, checked the alignment of the ticksl symbol.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable