From: Yinghai Lu Date: Thu, 12 Mar 2009 03:05:46 +0000 (-0700) Subject: x86: print out mtrr_range_state when user specify size X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1ab7e93c6ddf8a068719b97b7e26c3d8eba7c32;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 LKML-Reference: <49B87C0A.4010105@kernel.org> Signed-off-by: Ingo Molnar --- 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) 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, "