diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-03 18:31:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-03 18:31:02 -0400 |
commit | c5c67c7cba6a652d1c62dce45b0c130e5cb2a802 (patch) | |
tree | a64e262a344c5af5e95031319d7d32cf6cd0990d /arch/x86/kernel/cpu/mtrr | |
parent | 9b7b89efa3bdaceaa2efb93e2d635391835da209 (diff) |
x86, mtrr: remove debug message
The MTRR code grew a new debug message which triggers commonly:
[ 40.142276] get_mtrr: cpu0 reg00 base=0000000000 size=0000080000 write-back
[ 40.142280] get_mtrr: cpu0 reg01 base=0000080000 size=0000040000 write-back
[ 40.142284] get_mtrr: cpu0 reg02 base=0000100000 size=0000040000 write-back
[ 40.142311] get_mtrr: cpu0 reg00 base=0000000000 size=0000080000 write-back
[ 40.142314] get_mtrr: cpu0 reg01 base=0000080000 size=0000040000 write-back
[ 40.142317] get_mtrr: cpu0 reg02 base=0000100000 size=0000040000 write-back
Remove this annoyance.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr')
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/generic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c index 37f28fc7cf95..0b776c09aff3 100644 --- a/arch/x86/kernel/cpu/mtrr/generic.c +++ b/arch/x86/kernel/cpu/mtrr/generic.c | |||
@@ -462,9 +462,6 @@ static void generic_get_mtrr(unsigned int reg, unsigned long *base, | |||
462 | *base = base_hi << (32 - PAGE_SHIFT) | base_lo >> PAGE_SHIFT; | 462 | *base = base_hi << (32 - PAGE_SHIFT) | base_lo >> PAGE_SHIFT; |
463 | *type = base_lo & 0xff; | 463 | *type = base_lo & 0xff; |
464 | 464 | ||
465 | printk(KERN_DEBUG " get_mtrr: cpu%d reg%02d base=%010lx size=%010lx %s\n", | ||
466 | cpu, reg, *base, *size, | ||
467 | mtrr_attrib_to_str(*type & 0xff)); | ||
468 | out_put_cpu: | 465 | out_put_cpu: |
469 | put_cpu(); | 466 | put_cpu(); |
470 | } | 467 | } |