diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-03-11 23:05:46 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-12 21:52:18 -0400 |
commit | c1ab7e93c6ddf8a068719b97b7e26c3d8eba7c32 (patch) | |
tree | 082d706f75eb597a4d8b4d2b7ba8ed4b4ce3a1b2 /arch/x86/kernel/cpu/mtrr | |
parent | 8ad9790588ee2e69118b2b294ddab6f3f0379ad9 (diff) |
x86: print out mtrr_range_state when user specify size
Impact: print more debug info
Keep it consistent with autodetect version.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <49B87C0A.4010105@kernel.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/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index 236a401b8259..311a4734609b 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c | |||
@@ -1424,6 +1424,8 @@ static int __init mtrr_cleanup(unsigned address_bits) | |||
1424 | 1424 | ||
1425 | if (!result[i].bad) { | 1425 | if (!result[i].bad) { |
1426 | set_var_mtrr_all(address_bits); | 1426 | set_var_mtrr_all(address_bits); |
1427 | printk(KERN_DEBUG "New variable MTRRs\n"); | ||
1428 | print_out_mtrr_range_state(); | ||
1427 | return 1; | 1429 | return 1; |
1428 | } | 1430 | } |
1429 | printk(KERN_INFO "invalid mtrr_gran_size or mtrr_chunk_size, " | 1431 | printk(KERN_INFO "invalid mtrr_gran_size or mtrr_chunk_size, " |