x86: more MTRR debug printouts
commit8ad9790588ee2e69118b2b294ddab6f3f0379ad9
authorYinghai Lu <yinghai@kernel.org>
Fri, 13 Mar 2009 01:43:54 +0000 (12 18:43 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 01:52:18 +0000 (13 02:52 +0100)
tree12f8d7a19474f520379f84e629f643744085473b
parenta98fe7f3425c6b4e90de16f8da63b0429a8fed08
x86: more MTRR debug printouts

Impact: improve MTRR debugging messages

There's still inefficiencies suspected with the MTRR sanitizing
code, so make sure we get all the info we need from a dmesg.

- Remove unneeded mtrr_show

 (It will only printout one time by first cpu, so it is no big deal.)

- Also print out directly from get_mtrr, because it doesn't update mtrr_state.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <49B9BA5A.40108@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/generic.c