x86, mce: add MSR read wrappers for easier error injection
commit5f8c1a54cab6f449fe04d42d0661bc796fa4e73e
authorAndi Kleen <ak@linux.intel.com>
Wed, 29 Apr 2009 17:29:12 +0000 (29 19:29 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 28 May 2009 16:24:14 +0000 (28 09:24 -0700)
tree3e08602a41c9c7bb08cc20f650e884cd94c031e8
parenta9862e0560866eadbc59b84867492004da436516
x86, mce: add MSR read wrappers for easier error injection

This will be used by future patches to allow machine check error injection.
Right now it's a nop, except for adding some wrappers around the MSR reads.

This is early in the sequence to avoid too many conflicts.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c