diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:32:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:05 -0500 |
commit | e5aaac443635c7c6f842f0bf8169f71f3236d574 (patch) | |
tree | 6be4f1a7cd3e0b1614ea2bbeefcea42d9b1fffc9 /arch/x86 | |
parent | f72a9ef979c5a828c64deb88ebba743f7d899907 (diff) |
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 = { | |||
374 | .write_msr = native_write_msr_safe, | 374 | .write_msr = native_write_msr_safe, |
375 | .read_tsc = native_read_tsc, | 375 | .read_tsc = native_read_tsc, |
376 | .read_pmc = native_read_pmc, | 376 | .read_pmc = native_read_pmc, |
377 | .read_tscp = native_read_tscp, | ||
377 | .load_tr_desc = native_load_tr_desc, | 378 | .load_tr_desc = native_load_tr_desc, |
378 | .set_ldt = native_set_ldt, | 379 | .set_ldt = native_set_ldt, |
379 | .load_gdt = native_load_gdt, | 380 | .load_gdt = native_load_gdt, |