x86, MCE, AMD: Cleanup reading of error_count
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 27 Apr 2012 10:53:59 +0000 (12:53 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 7 Jun 2012 10:43:46 +0000 (12:43 +0200)
commit2c9c42fa98c283961b7f6b6542fb4bf0c0539e15
tree59130b1547fefd1ede9e41671d5f14e9a76527a8
parent18c20f373b76a64270a991396b06542abaf9f530
x86, MCE, AMD: Cleanup reading of error_count

We have rdmsr_on_cpu() now so remove locally defined solution in favor
of the generic one.

No functionality change.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/kernel/cpu/mcheck/mce_amd.c