]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/lguest/x86/core.c
lguest: use defines from x86 headers instead of magic numbers
[linux-2.6-omap-h63xx.git] / drivers / lguest / x86 / core.c
index 9eed12d5a39506cea25d9b724d05fdb468d84d1c..09d9207420dc6cf44e2b81f4f8fa10e4d0047ed4 100644 (file)
@@ -562,7 +562,7 @@ void lguest_arch_setup_regs(struct lguest *lg, unsigned long start)
         * is supposed to always be "1".  Bit 9 (0x200) controls whether
         * interrupts are enabled.  We always leave interrupts enabled while
         * running the Guest. */
-       regs->eflags = 0x202;
+       regs->eflags = X86_EFLAGS_IF | 0x2;
 
        /* The "Extended Instruction Pointer" register says where the Guest is
         * running. */