Rodney W. Grimes a488c9c99a Add accessor function for vm->maxcpus
Replace most VM_MAXCPU constant useses with an accessor function to
vm->maxcpus which for now is initialized and kept at the value of
VM_MAXCPUS.

This is a rework of Fabian Freyer (fabian.freyer_physik.tu-berlin.de)
work from D10070 to adjust it for the cpu topology changes that
occured in r332298

Submitted by:		Fabian Freyer (fabian.freyer_physik.tu-berlin.de)
Reviewed by:		Patrick Mooney <patrick.mooney@joyent.com>
Approved by:		bde (mentor), jhb (maintainer)
MFC after:		3 days
Differential Revision:	https://reviews.freebsd.org/D18755
2019-04-25 22:51:36 +00:00
..
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2018-10-31 01:27:44 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2019-04-25 22:51:36 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00
2018-06-13 07:02:58 +00:00