diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 13:32:05 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:32:05 +0100 |
commit | e5aaac443635c7c6f842f0bf8169f71f3236d574 (patch) | |
tree | 6be4f1a7cd3e0b1614ea2bbeefcea42d9b1fffc9 /arch/x86 | |
parent | f72a9ef979c5a828c64deb88ebba743f7d899907 (diff) | |
download | blackbird-op-linux-e5aaac443635c7c6f842f0bf8169f71f3236d574.tar.gz blackbird-op-linux-e5aaac443635c7c6f842f0bf8169f71f3236d574.zip |
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/paravirt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index 1a170877f46c..072c1a08efe6 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c @@ -374,6 +374,7 @@ struct pv_cpu_ops pv_cpu_ops = { .write_msr = native_write_msr_safe, .read_tsc = native_read_tsc, .read_pmc = native_read_pmc, + .read_tscp = native_read_tscp, .load_tr_desc = native_load_tr_desc, .set_ldt = native_set_ldt, .load_gdt = native_load_gdt, |