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

Next file: linux/drivers/block/ll_rw_blk.c
Previous file: linux/arch/i386/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.26/linux/arch/i386/kernel/vm86.c linux/arch/i386/kernel/vm86.c
@@ -434,10 +434,10 @@
 		if ( (trapno==3) || (trapno==1) )
 			return_to_32bit(regs, VM86_TRAP + (trapno << 8));
 		do_int(regs, trapno, (unsigned char *) (regs->ss << 4), SP(regs));
-		return  1;
+		return 0;
 	}
 	if (trapno !=1)
-		return 0; /* we let this handle by the calling routine */
+		return 1; /* we let this handle by the calling routine */
 	if (current->flags & PF_PTRACED)
 		current->blocked &= ~(1 << (SIGTRAP-1));
 	send_sig(SIGTRAP, current, 1);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov