aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/acpi/suspend.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-03-20 08:34:24 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-03-20 08:34:24 +0000
commitf13bb77a496cf646c8f7ae87f74ff201450d3d21 (patch)
tree053dd73e2b8b7225dbe8cbb5f56994dd56cbc704 /xen/arch/x86/acpi/suspend.c
parent4b42d8556780613df8b529fa831045baf76d114f (diff)
downloadxen-f13bb77a496cf646c8f7ae87f74ff201450d3d21.tar.gz
xen-f13bb77a496cf646c8f7ae87f74ff201450d3d21.tar.bz2
xen-f13bb77a496cf646c8f7ae87f74ff201450d3d21.zip
x86: Fix the 32-bit build after c/s 19400.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/acpi/suspend.c')
-rw-r--r--xen/arch/x86/acpi/suspend.c2
1 files changed, 1 insertions, 1 deletions
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. */