--- linux/arch/i386/kernel/vm86.c Sun Aug 4 03:44:30 2002
+++ linux/arch/i386/kernel/vm86.c Sat May 24 19:30:45 2003
@@ -362,6 +362,9 @@
if (VEFLAGS & VIF_MASK)
flags |= IF_MASK;
+ else
+ flags &= ~IF_MASK;
+ flags |= IOPL_MASK;
return flags | (VEFLAGS & current->thread.v86mask);
}