The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4b52622de77c214da4d5f51006380517769f7857
commit 4b52622de77c214da4d5f51006380517769f7857 Author: Konstantin Belousov <[email protected]> AuthorDate: 2021-07-10 11:07:41 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2021-07-17 10:51:59 +0000 amd64 pmap: unexpand the NBPDR macro definition (cherry picked from commit fdc71fa112d66c7c0aba9ff80adc7b8bb22ea6ca) --- sys/amd64/amd64/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 01644b9661af..9b95343f43f3 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -1532,7 +1532,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); /* _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
