e.g., void restore_rest_processor_state(void) { ... #else /* !defined(CONFIG_X86_64) */ if ( supervisor_mode_kernel && cpu_has_sep ) wrmsr(MSR_IA32_SYSENTER_ESP, &t->esp1, 0); ========> t is not defined previously. #endif Thanks, -- Dexuan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Lu, Guanqun
2009-Mar-20 06:46 UTC
[Xen-devel] [PATCH] fix 19400 was RE: C/S 19400 breaks 32-bit build
diff -r e1562a36094e xen/arch/x86/acpi/suspend.c --- a/xen/arch/x86/acpi/suspend.c Thu Mar 19 17:04:06 2009 +0000 +++ b/xen/arch/x86/acpi/suspend.c Fri Mar 20 13:27:17 2009 +0800 @@ -32,6 +32,9 @@ void restore_rest_processor_state(void) void restore_rest_processor_state(void) { struct vcpu *v = current; +#if !defined(CONFIG_X86_64) + struct tss_struct *t = &init_tss[smp_processor_id()]; +#endif load_TR(); On Friday, March 20, 2009 12:17 PM Cui, Dexuan wrote:> e.g., > void restore_rest_processor_state(void) > { > ... > #else /* !defined(CONFIG_X86_64) */ > if ( supervisor_mode_kernel && cpu_has_sep ) > wrmsr(MSR_IA32_SYSENTER_ESP, &t->esp1, 0); ========> t > is not defined previously. #endif > > Thanks, > -- Dexuan > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- Guanqun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel