]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
x86: change rdpmc interface
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:07 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:07 +0000 (13:31 +0100)
commitb8d1fae7dbde6a1227fa142acecb48dc3dd63817
tree1fdc67fe977cf6c351ed41d5fdaa46fa97aba776
parent8f12dea6135d0a55b151dcb4c6bbe211f5f8d35d
x86: change rdpmc interface

the rdpmc instruction gets a counter argument in rcx. However,
the i386 version was ignoring it. To make both x86_64 and i386 versions
the same, as well as to comply with the instruction semantics, this
parameter is added in the i386 version

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/msr.h
include/asm-x86/paravirt.h