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

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)