Skip to contentSkip to conversation

C/S 19400 breaks 32-bit build

PATCH New Cui, Dexuan 2 participants 2 messages Mar 20, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

#2 lore raw

PATCH 1/1 fix 19400 was RE: C/S 19400 breaks 32-bit build

xen/arch/x86/acpi/suspend.c Fri Mar 20 13:27:17 2009 +0800 renamed from xen/arch/x86/acpi/suspend.c Thu Mar 19 17:04:06 2009 +0000 +3 -0
diff -r e1562a36094e xen/arch/x86/acpi/suspend.c
@@ -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();
 
Quoted 15 lines · Dexuan

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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
Guanqun