patch-2.4.22 linux-2.4.22/arch/i386/kernel/vm86.c
Next file: linux-2.4.22/arch/i386/math-emu/fpu_trig.c
Previous file: linux-2.4.22/arch/i386/kernel/sys_i386.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
2003-08-25 04:44:39.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/i386/kernel/vm86.c
-  Orig date: 
2002-08-02 17:39:42.000000000 -0700
diff -urN linux-2.4.21/arch/i386/kernel/vm86.c linux-2.4.22/arch/i386/kernel/vm86.c
@@ -362,6 +362,9 @@
 
 	if (VEFLAGS & VIF_MASK)
 		flags |= IF_MASK;
+	else
+		flags &= ~IF_MASK;
+	flags |= IOPL_MASK;
 	return flags | (VEFLAGS & current->thread.v86mask);
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)