]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: print out mtrr_range_state when user specify size
authorYinghai Lu <yinghai@kernel.org>
Thu, 12 Mar 2009 03:05:46 +0000 (20:05 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 01:52:18 +0000 (02:52 +0100)
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>
arch/x86/kernel/cpu/mtrr/main.c

index 236a401b82597b0d48217db77ea5c10e692e9b2e..311a4734609bfbf5f37ca8b1dcd55df90fe4c746 100644 (file)
@@ -1424,6 +1424,8 @@ static int __init mtrr_cleanup(unsigned address_bits)
 
                if (!result[i].bad) {
                        set_var_mtrr_all(address_bits);
+                       printk(KERN_DEBUG "New variable MTRRs\n");
+                       print_out_mtrr_range_state();
                        return 1;
                }
                printk(KERN_INFO "invalid mtrr_gran_size or mtrr_chunk_size, "