x86: Add rdpmcl()
authorAndi Kleen <ak@linux.intel.com>
Wed, 6 Jun 2012 00:56:50 +0000 (17:56 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 15:23:27 +0000 (17:23 +0200)
commit1ff4d58a192aea7f245981e2579765f961f6eb9c
treed925939440c4c36bf6f46d5aeb4eb609c4f3038f
parent1c2ac3fde3e35279958e7b0408e2dcf866465301
x86: Add rdpmcl()

Add a version of rdpmc() that directly reads into a u64

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1338944211-28275-4-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/msr.h
arch/x86/include/asm/paravirt.h