HomeFreeBSD

sys/_pv_entry.h: Include sys/param.h

Description

sys/_pv_entry.h: Include sys/param.h

sys/param.h is required for this file because it uses howmany() which is
defined there. For the kernel, this works today because of namespace
polllution. However, user land programs, like qemu, can include
machine/pmap.h without having included sys/param.h (since it wasn't
required before).

Sponsored by: Netflix
Reviewed by: tsoome, jhb
Differential Revision: https://reviews.freebsd.org/D36927

Details

Provenance
impAuthored on Oct 11 2022, 6:51 PM
Reviewer
tsoome
Differential Revision
D36927: sys/_pv_entry.h: Include sys/param.h
Parents
rG4982884b99e8: nvme: Always set deadline to max
Branches
Unknown
Tags
Unknown