diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 15:31:07 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 15:31:07 +0300 |
commit | b8d1fae7dbde6a1227fa142acecb48dc3dd63817 (patch) | |
tree | 1fdc67fe977cf6c351ed41d5fdaa46fa97aba776 /include/asm-x86/paravirt.h | |
parent | 8f12dea6135d0a55b151dcb4c6bbe211f5f8d35d (diff) | |
download | linux-b8d1fae7dbde6a1227fa142acecb48dc3dd63817.tar.xz |
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>
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r-- | include/asm-x86/paravirt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h index d1780e32722e..4782be68d0fa 100644 --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -118,7 +118,7 @@ struct pv_cpu_ops { int (*write_msr)(unsigned int msr, u64 val); u64 (*read_tsc)(void); - u64 (*read_pmc)(void); + u64 (*read_pmc)(int counter); /* These two are jmp to, not actually called. */ void (*irq_enable_syscall_ret)(void); |