]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Fix excessive MSR print out when show_msr is not specified
authorYinghai Lu <yinghai@kernel.org>
Fri, 23 Mar 2012 04:31:43 +0000 (21:31 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 23 Mar 2012 08:55:00 +0000 (09:55 +0100)
commit7aa89f7554198c4931801d49e25adc22dc39badd
treed043886242201e045412654d24c534909c52a2de
parentcb97bb72cda93916d5b2635463e1137f5f302311
x86: Fix excessive MSR print out when show_msr is not specified

Dave found:

| During bootup, I now have 162 messages like this..
| [    0.227346]  MSR0000001b: 00000000fee00900
| [    0.227465]  MSR00000021: 0000000000000001
| [    0.227584]  MSR0000002a: 00000000c1c81400
|
| commit 1f604b6526c2e110e6296cbe1305bf28a4f7ca60 looks suspect.
| It claims that it will only print these out if show_msr= is
| passed, but that doesn't seem to be the case.

Fix it by changing to the version that checks the index.

Reported-and-tested-by: Dave Jones <davej@redhat.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1332477103-4595-1-git-send-email-yinghai@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/common.c