HomeFreeBSD

refcount: Avoid redefining KASSERT for userspace

Description

refcount: Avoid redefining KASSERT for userspace

Just bring in systm.h unconditionally. Otherwise this definition of
KASSERT conflicts with the one from kassert.h, specifically when
including other headers which unconditionally include systm.h or
kassert.h.

A number of other kernel headers depend on this pollution, but ideally
we'd only need kassert.h here.

Reported by: Jenkins
MFC after: 1 week

Details

Provenance
markjAuthored on Nov 5 2024, 3:40 AM
Parents
rG043999b1ae49: riscv/vmm: Fix the build after a97f683fe3c4
Branches
Unknown
Tags
Unknown