HomeFreeBSD

vdso gettimeofday: minor restructuring

Description

vdso gettimeofday: minor restructuring

Call binuptime inside switch statement, instead of pre-calculating
the abs argument.
Change the type of the abs argument to bool.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D30873

Details

Provenance
kibAuthored on Jun 22 2021, 11:58 PM
Reviewer
markj
Differential Revision
D30873: vdso: lower precision of vdso implementation of CLOCK_MONOTONIC_FAST and CLOCK_UPTIME_FAST
Parents
rGb50db44f021c: bsdinstall: Avoid double-mounting /dev
Branches
Unknown
Tags
Unknown