mirror of
https://github.com/opnsense/src.git
synced 2026-04-03 16:35:27 -04:00
amd64 pmap: unexpand the NBPDR macro definition
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
71463a34ab
commit
fdc71fa112
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue