aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/lguest')
-rw-r--r--drivers/lguest/x86/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c
index 9eed12d5a395..09d9207420dc 100644
--- a/drivers/lguest/x86/core.c
+++ b/drivers/lguest/x86/core.c
@@ -562,7 +562,7 @@ void lguest_arch_setup_regs(struct lguest *lg, unsigned long start)
562 * is supposed to always be "1". Bit 9 (0x200) controls whether 562 * is supposed to always be "1". Bit 9 (0x200) controls whether
563 * interrupts are enabled. We always leave interrupts enabled while 563 * interrupts are enabled. We always leave interrupts enabled while
564 * running the Guest. */ 564 * running the Guest. */
565 regs->eflags = 0x202; 565 regs->eflags = X86_EFLAGS_IF | 0x2;
566 566
567 /* The "Extended Instruction Pointer" register says where the Guest is 567 /* The "Extended Instruction Pointer" register says where the Guest is
568 * running. */ 568 * running. */