]> xenbits.xensource.com Git - xen.git/commitdiff
x86: Fix the 32-bit build after c/s 19400.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:34:24 +0000 (08:34 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:34:24 +0000 (08:34 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/acpi/suspend.c

index 8d83168b7a1b66adc34cb8f196dbf52b947fd495..0aac31da68870e51c9d82571150609c91814e806 100644 (file)
@@ -43,7 +43,7 @@ void restore_rest_processor_state(void)
     wrmsr(MSR_SYSCALL_MASK, EF_VM|EF_RF|EF_NT|EF_DF|EF_IE|EF_TF, 0U);    
 #else /* !defined(CONFIG_X86_64) */
     if ( supervisor_mode_kernel && cpu_has_sep )
-        wrmsr(MSR_IA32_SYSENTER_ESP, &t->esp1, 0);
+        wrmsr(MSR_IA32_SYSENTER_ESP, &init_tss[smp_processor_id()].esp1, 0);
 #endif
 
     /* Maybe load the debug registers. */