Fix assert.
Noted by: alc MFC after: 1 week
This commit is contained in:
parent
e8f77c204b
commit
fceae0fd3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365514
@ -2385,7 +2385,7 @@ pmap_init(void)
|
||||
("pmap_init: can't assign to pagesizes[1]"));
|
||||
pagesizes[1] = NBPDR;
|
||||
if ((amd_feature & AMDID_PAGE1GB) != 0) {
|
||||
KASSERT(MAXPAGESIZES > 1 && pagesizes[2] == 0,
|
||||
KASSERT(MAXPAGESIZES > 2 && pagesizes[2] == 0,
|
||||
("pmap_init: can't assign to pagesizes[2]"));
|
||||
pagesizes[2] = NBPDP;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user