Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109048
b: refs/heads/master
c: 9754a5b
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Aug 22, 2008
1 parent 6fd8213 commit 2551ee5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: c4bd1fdab0deec0f69aeabab22075cb22ac8ad44
refs/heads/master: 9754a5b840a209bc1f192d59f63e81b698a55ac8
7 changes: 6 additions & 1 deletion trunk/arch/x86/kernel/cpu/mtrr/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,12 @@ static void generic_get_mtrr(unsigned int reg, unsigned long *base,
tmp |= ~((1<<(hi - 1)) - 1);

if (tmp != mask_lo) {
WARN_ON("mtrr: your BIOS has set up an incorrect mask, fixing it up.\n");
static int once = 1;

if (once) {
printk(KERN_INFO "mtrr: your BIOS has set up an incorrect mask, fixing it up.\n");
once = 0;
}
mask_lo = tmp;
}
}
Expand Down

0 comments on commit 2551ee5

Please sign in to comment.