pc, pc64: add *nomtrr= kernel parameter
This commit is contained in:
parent
263dc8093d
commit
b2ffb6ccc5
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ cpuidentify(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
if(m->cpuiddx & Mtrr)
|
||||
if((m->cpuiddx & Mtrr) != 0 && getconf("*nomtrr") == nil)
|
||||
mtrrsync();
|
||||
|
||||
if(strcmp(m->cpuidid, "GenuineIntel") == 0 && (m->cpuidcx & Rdrnd) != 0)
|
||||
|
|
Loading…
Reference in a new issue