ia64/xen-unstable

changeset 19406:f87b2374cdf0

x86: Fix the 32-bit build after c/s 19400.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Mar 20 08:34:24 2009 +0000 (2009-03-20)
parents e1562a36094e
children db20b819679c
files xen/arch/x86/acpi/suspend.c
line diff
     1.1 --- a/xen/arch/x86/acpi/suspend.c	Thu Mar 19 17:04:06 2009 +0000
     1.2 +++ b/xen/arch/x86/acpi/suspend.c	Fri Mar 20 08:34:24 2009 +0000
     1.3 @@ -43,7 +43,7 @@ void restore_rest_processor_state(void)
     1.4      wrmsr(MSR_SYSCALL_MASK, EF_VM|EF_RF|EF_NT|EF_DF|EF_IE|EF_TF, 0U);    
     1.5  #else /* !defined(CONFIG_X86_64) */
     1.6      if ( supervisor_mode_kernel && cpu_has_sep )
     1.7 -        wrmsr(MSR_IA32_SYSENTER_ESP, &t->esp1, 0);
     1.8 +        wrmsr(MSR_IA32_SYSENTER_ESP, &init_tss[smp_processor_id()].esp1, 0);
     1.9  #endif
    1.10  
    1.11      /* Maybe load the debug registers. */