HomeFreeBSD

Use callout(9) instead of deprecated timeout(9) for fail points.

Description

Use callout(9) instead of deprecated timeout(9) for fail points.

Allocate the callout structure on-demand from
fail_point_use_timeout_path() since most fail points do not use
timeouts.

Reviewed by: markj (earlier version), cem
Differential Revision: https://reviews.freebsd.org/D22599

Details

Provenance
jhbAuthored on
Reviewer
markj
Differential Revision
D22599: Use callout(9) instead of deprecated timeout(9).
Parents
rS355724: Support software breakpoints in the debug server on Intel CPUs.
Branches
Unknown
Tags
Unknown