summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;