]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, cpu: Fix show_msr MSR accessing function
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 1 Jun 2012 14:52:36 +0000 (16:52 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 7 Jun 2012 18:41:28 +0000 (11:41 -0700)
commitecd431d95aa04257e977fd6878e4203ce462e7e9
tree80bf7bf5ee260754a5291800ef1230a6d1666da0
parent1f975f78c84c852e09463a2dfa57e3174e5c719e
x86, cpu: Fix show_msr MSR accessing function

There's no real reason why, when showing the MSRs on a CPU at boottime,
we should be using the AMD-specific variant. Simply use the generic safe
one which handles #GPs just fine.

Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/1338562358-28182-3-git-send-email-bp@amd64.org
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/common.c