diff options
Diffstat (limited to 'drivers/lguest')
-rw-r--r-- | drivers/lguest/x86/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c index e9c3ba8aa1ec..61f2f8eb8cad 100644 --- a/drivers/lguest/x86/core.c +++ b/drivers/lguest/x86/core.c | |||
@@ -418,7 +418,7 @@ void __init lguest_arch_host_init(void) | |||
418 | /* We know where we want the stack to be when the Guest enters | 418 | /* We know where we want the stack to be when the Guest enters |
419 | * the switcher: in pages->regs. The stack grows upwards, so | 419 | * the switcher: in pages->regs. The stack grows upwards, so |
420 | * we start it at the end of that structure. */ | 420 | * we start it at the end of that structure. */ |
421 | state->guest_tss.esp0 = (long)(&pages->regs + 1); | 421 | state->guest_tss.sp0 = (long)(&pages->regs + 1); |
422 | /* And this is the GDT entry to use for the stack: we keep a | 422 | /* And this is the GDT entry to use for the stack: we keep a |
423 | * couple of special LGUEST entries. */ | 423 | * couple of special LGUEST entries. */ |
424 | state->guest_tss.ss0 = LGUEST_DS; | 424 | state->guest_tss.ss0 = LGUEST_DS; |