x86: re-add rdmsrl_safe
authorAndi Kleen <andi@firstfloor.org>
Sat, 22 Mar 2008 09:59:28 +0000 (10:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:30 +0000 (17:41 +0200)
commit1de87bd40e119d26533b5135677901990390bfa9
tree862877f6e54993a9067fffc0d545e75697a8184e
parentf5c24a7fd0798d636af184cc7032e7e0cb149112
x86: re-add rdmsrl_safe

RDMSR for 64bit values with exception handling.

Makes it easier to deal with 64bit valued MSRs. The old 64bit code
base had that too as checking_rdmsrl(), but it got dropped somehow.

Signed-off-by: Andi Kleen <andi@firstfloor.org>
Cc: andreas.herrmann3@amd.com
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/msr.h
include/asm-x86/paravirt.h