summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-11-04 23:09:47 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-11-04 23:09:47 +0100
commit6f15a730f351b75f24286cb937a96db1ee9e5b82 (patch)
treeaaf00591a9045a3c2f52f2f5c523eef1a7cbd44f
parent9cca88895e31c73d4d0793dd83f76ebd24456cdd (diff)
parent6cc223ee56e5f0aa20dfc6f51b70607b5b14cf5f (diff)
downloadplan9front-6f15a730f351b75f24286cb937a96db1ee9e5b82.tar.xz
merge
-rw-r--r--sys/src/9/pc/mtrr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/mtrr.c b/sys/src/9/pc/mtrr.c
index 4b1558bfe..8a4c4565a 100644
--- a/sys/src/9/pc/mtrr.c
+++ b/sys/src/9/pc/mtrr.c
@@ -292,7 +292,7 @@ mtrr0(uvlong base, uvlong size, char *tstr)
slot = -1;
for(i = 0; i < vcnt; i++){
mok = mtrrdec(&mtrreg[i], &mp, &msize, &mtype);
- if(slot == -1 && (!mok || mtype == (def & Deftype)))
+ if(slot == -1 && !mok)
slot = i; /* good, but look further for exact match */
if(mok && mp == base && msize == size){
slot = i;