x86: provide paravirtualized hook for rdtscp
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:32:05 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:05 +0000 (13:32 +0100)
commite5aaac443635c7c6f842f0bf8169f71f3236d574
tree6be4f1a7cd3e0b1614ea2bbeefcea42d9b1fffc9
parentf72a9ef979c5a828c64deb88ebba743f7d899907
x86: provide paravirtualized hook for rdtscp

This patch adds a field in pv_cpu_ops for a paravirtualized hook
for rdtscp, needed for x86_64.

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>
arch/x86/kernel/paravirt.c
include/asm-x86/paravirt.h