amd64 pmap: unexpand the NBPDR macro definition

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2021-07-10 14:07:41 +03:00
parent 71463a34ab
commit fdc71fa112

View file

@ -1554,7 +1554,7 @@ nkpt_init(vm_paddr_t addr)
#ifdef NKPT
pt_pages = NKPT;
#else
pt_pages = howmany(addr, 1 << PDRSHIFT);
pt_pages = howmany(addr, NBPDR);
pt_pages += NKPDPE(pt_pages);
/*