From f13bb77a496cf646c8f7ae87f74ff201450d3d21 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 20 Mar 2009 08:34:24 +0000 Subject: [PATCH] x86: Fix the 32-bit build after c/s 19400. Signed-off-by: Keir Fraser --- xen/arch/x86/acpi/suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/acpi/suspend.c b/xen/arch/x86/acpi/suspend.c index 8d83168b7a..0aac31da68 100644 --- a/xen/arch/x86/acpi/suspend.c +++ b/xen/arch/x86/acpi/suspend.c @@ -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. */ -- 2.39.5