From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:33:19 +0000 (+0100) Subject: x86: fill pv_cpu_ops structure with cr8 fields X-Git-Tag: v2.6.25-rc1~1143^2~240 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=88b4755f0fa8f5075ac0182f07852acbb397e140;p=karo-tx-linux.git 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- 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 = { .read_cr4 = native_read_cr4, .read_cr4_safe = native_read_cr4_safe, .write_cr4 = native_write_cr4, +#ifdef CONFIG_X86_64 + .read_cr8 = native_read_cr8, + .write_cr8 = native_write_cr8, +#endif .wbinvd = native_wbinvd, .read_msr = native_read_msr_safe, .write_msr = native_write_msr_safe,