patch-1.3.73 linux/arch/i386/kernel/vm86.c

Next file: linux/arch/i386/mm/init.c
Previous file: linux/arch/i386/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.72/linux/arch/i386/kernel/vm86.c linux/arch/i386/kernel/vm86.c
@@ -379,6 +379,7 @@
 			set_vflags_long(popl(ssp, sp), regs);
 			return;
 		}
+		break;
 
 	/* pushf */
 	case 0x9c:
@@ -425,8 +426,10 @@
 		IP(regs)++;
 		set_IF(regs);
 		return;
-
-	default:
-		return_to_32bit(regs, VM86_UNKNOWN);
 	}
+
+	/*
+	 * We didn't recognize it, let the emulator take care of it..
+	 */
+	return_to_32bit(regs, VM86_UNKNOWN);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this