Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86347
b: refs/heads/master
c: 4147c87
h: refs/heads/master
i:
  86345: e7671f2
  86343: 94640ad
v: v3
  • Loading branch information
Joerg Roedel authored and Ingo Molnar committed Feb 26, 2008
1 parent 144defe commit 7ebdcbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d119b2c9a490e2d647eae134211b32a18a04c7d
refs/heads/master: 4147c8747eace9058c606b35e700060297edaf91
8 changes: 6 additions & 2 deletions trunk/arch/x86/kernel/cpu/mtrr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <asm/uaccess.h>
#include <asm/processor.h>
#include <asm/msr.h>
#include <asm/kvm_para.h>
#include "mtrr.h"

u32 num_var_ranges = 0;
Expand Down Expand Up @@ -689,8 +690,11 @@ int __init mtrr_trim_uncached_memory(unsigned long end_pfn)

/* kvm/qemu doesn't have mtrr set right, don't trim them all */
if (!highest_pfn) {
printk(KERN_WARNING "WARNING: strange, CPU MTRRs all blank?\n");
WARN_ON(1);
if (!kvm_para_available()) {
printk(KERN_WARNING
"WARNING: strange, CPU MTRRs all blank?\n");
WARN_ON(1);
}
return 0;
}

Expand Down

0 comments on commit 7ebdcbd

Please sign in to comment.