--- zzzz-none-000/linux-2.6.32.61/arch/x86/xen/enlighten.c 2013-06-10 09:43:48.000000000 +0000 +++ virian-300e-630/linux-2.6.32.61/arch/x86/xen/enlighten.c 2013-02-11 15:10:47.000000000 +0000 @@ -776,16 +776,7 @@ native_write_cr4(cr4); } -#ifdef CONFIG_X86_64 -static inline unsigned long xen_read_cr8(void) -{ - return 0; -} -static inline void xen_write_cr8(unsigned long val) -{ - BUG_ON(val); -} -#endif + static int xen_write_msr_safe(unsigned int msr, unsigned low, unsigned high) { int ret; @@ -951,11 +942,6 @@ .read_cr4_safe = native_read_cr4_safe, .write_cr4 = xen_write_cr4, -#ifdef CONFIG_X86_64 - .read_cr8 = xen_read_cr8, - .write_cr8 = xen_write_cr8, -#endif - .wbinvd = native_wbinvd, .read_msr = native_read_msr_safe, @@ -966,8 +952,6 @@ .read_tsc = native_read_tsc, .read_pmc = native_read_pmc, - .read_tscp = native_read_tscp, - .iret = xen_iret, .irq_enable_sysexit = xen_sysexit, #ifdef CONFIG_X86_64