HomeFreeBSD

epoch: replace hand coded assertion

Description

epoch: replace hand coded assertion

The assertion is equivalent to kstack_contains() so use that rather
than spelling it out.

Suggested by: jhb
Reviewed by: jhb
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D38107

(cherry picked from commit fa1d803c0f652d72840a3c59139baf9d30792860)

Details

Provenance
brooksAuthored on Jan 20 2023, 6:03 PM
Reviewer
jhb
Differential Revision
D38107: epoch: replace handcoded assertion
Parents
rGa25797c114da: riscv: Fix thread0.td_kstack_pages init
Branches
Unknown
Tags
Unknown