HomeFreeBSD

SCHEDULER_STOPPED(): Move it (back) to 'systm.h'

Description

SCHEDULER_STOPPED(): Move it (back) to 'systm.h'

It's not an assertion, so doesn't logically belong to 'kassert.h'.
Moreover, a subsequent commit will make it rely on a variable whose
declaration also belongs to 'systm.h'.

Approved by: markj (mentor)
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43571

(cherry picked from commit cd0c52e50bc17f4c3fab998f9f33b1d3ada6c90e)

Approved by: markj (mentor)

Details

Provenance
olceAuthored on Jan 18 2024, 10:31 AM
Differential Revision
D43571: SCHEDULER_STOPPED(): Move it (back) to 'systm.h'
Parents
rG2c8244485795: Annotate 'rebooting' with __read_mostly
Branches
Unknown
Tags
Unknown