History log of /freebsd/sys/kern/subr_ticks.S (Results 1 – 2 of 2)
Revision Date Author Comments
# 159d29d3 11-Jan-2025 Mark Johnston <markj@FreeBSD.org>

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.

R

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

show more ...


# b2b974f7 11-Jan-2025 Mark Johnston <markj@FreeBSD.org>

clock: Simplify subr_ticks and rename

- We can use builtin constants for the size of int and long to simplify
definitions.
- The file should have a .S prefix since we want to run it through the

clock: Simplify subr_ticks and rename

- We can use builtin constants for the size of int and long to simplify
definitions.
- The file should have a .S prefix since we want to run it through the
preprocessor, though apparently this happens anyway with .s...
- Move ticks and ticksl from .data to .bss.

Reported by: jrtc27
Reviewed by: jrtc27, kib, emaste
Fixes: 6b82130e6c9a ("clock: Add a long ticks variable, ticksl")
Differential Revision: https://reviews.freebsd.org/D48420

show more ...