]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sys/_{cpu,domain}set.h: don't require sys/param.h
authorBrooks Davis <brooks@FreeBSD.org>
Mon, 15 Apr 2024 16:53:39 +0000 (17:53 +0100)
committerBrooks Davis <brooks@FreeBSD.org>
Mon, 15 Apr 2024 20:35:40 +0000 (21:35 +0100)
commitb83d3eb5b79860c20829d599630e7eae03d7fd53
tree5c1b4385fe008750a6bb76ebb37671dad35c3a24
parent6bb132ba1e4e28cf1e713c8dcd77f2e8af7bde88
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
sys/sys/_cpuset.h
sys/sys/_domainset.h