HomeFreeBSD

Adjust g_waitidle() visibility and definition

Description

Adjust g_waitidle() visibility and definition

Explicitly pass the struct thread argument.
Move the function prototype from sys/systm.h to geom/geom.h, we do not
need almost each kernel source to see the prototype, it is now used
only by kern/vfs_mountroot.c outside geom/geom_event.c, where the
function is defined.

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

Details

Provenance
kibAuthored on Jul 22 2022, 8:00 AM
Reviewer
markj
Differential Revision
D35888: AST: rework
Parents
rG4fced8642f8e: sigfastblock_setpend() and fastblock_mask can be static now
Branches
Unknown
Tags
Unknown