aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/paravirt.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:33:19 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:19 -0500
commit88b4755f0fa8f5075ac0182f07852acbb397e140 (patch)
treeef26cf24d5acb53a4a9b19675269d15187df169a /arch/x86/kernel/paravirt.c
parent94ea03cdda520f0c0dc80cbb4674ab9a33749ee2 (diff)
x86: fill pv_cpu_ops structure with cr8 fields
This patch fills in the read and write cr8 fields with their native 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 'arch/x86/kernel/paravirt.c')
-rw-r--r--arch/x86/kernel/paravirt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c
index c20b4f8d62f5..c67d33103b91 100644
--- a/arch/x86/kernel/paravirt.c
+++ b/arch/x86/kernel/paravirt.c
@@ -319,6 +319,10 @@ struct pv_cpu_ops pv_cpu_ops = {
319 .read_cr4 = native_read_cr4, 319 .read_cr4 = native_read_cr4,
320 .read_cr4_safe = native_read_cr4_safe, 320 .read_cr4_safe = native_read_cr4_safe,
321 .write_cr4 = native_write_cr4, 321 .write_cr4 = native_write_cr4,
322#ifdef CONFIG_X86_64
323 .read_cr8 = native_read_cr8,
324 .write_cr8 = native_write_cr8,
325#endif
322 .wbinvd = native_wbinvd, 326 .wbinvd = native_wbinvd,
323 .read_msr = native_read_msr_safe, 327 .read_msr = native_read_msr_safe,
324 .write_msr = native_write_msr_safe, 328 .write_msr = native_write_msr_safe,