HomeFreeBSD

sys/_{cpu,domain}set.h: don't require sys/param.h

Description

sys/_{cpu,domain}set.h: don't require sys/param.h

Add machine/param.h for MAXCPU and MAXMEMDOM in the _KERNEL case of
sys/_cpuset.h and sys/_domainset.h, making them more self contained.

This eliminates the need to include sys/param.h before sys/cpuset.h and
sys/domainset.h.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44466

Details

Provenance
brooksAuthored on Mon, Apr 15, 4:53 PM
Reviewer
kib
Differential Revision
D44466: sys/_{cpu,domain}set.h: don't require sys/param.h
Parents
rG6bb132ba1e4e: Reduce reliance on sys/sysproto.h pollution
Branches
Unknown
Tags
Unknown