patch-1.3.99 linux/arch/m68k/kernel/traps.c

Next file: linux/arch/m68k/mm/fault.c
Previous file: linux/arch/m68k/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.98/linux/arch/m68k/kernel/traps.c linux/arch/m68k/kernel/traps.c
@@ -392,7 +392,7 @@
 			}
 			printk ("BAD KERNEL BUSERR\n");
 			die_if_kernel("Oops",&fp->ptregs,0);
-			send_sig(SIGSEGV, current, 1);
+			force_sig(SIGSEGV, current);
 			user_space_fault = 0;
 		}
 	} else {
@@ -447,7 +447,7 @@
 			    !(ssw & RW) ? "write" : "read", addr,
 			    fp->ptregs.pc);
 		    die_if_kernel("Oops",&fp->ptregs,mmusr);
-		    send_sig(SIGSEGV, current, 1);
+		    force_sig(SIGSEGV, current);
 		    return;
 	    } else {
 #ifdef DEBUG
@@ -478,7 +478,7 @@
 		    printk("Unknown SIGSEGV - 1\n");
 #endif
 		    die_if_kernel("Oops",&fp->ptregs,mmusr);
-		    send_sig(SIGSEGV, current, 1);
+		    force_sig(SIGSEGV, current);
 		    return;
 	    }
 
@@ -576,7 +576,7 @@
 		printk("Unknown SIGSEGV - 2\n");
 #endif
 		die_if_kernel("Oops",&fp->ptregs,mmusr);
-		send_sig(SIGSEGV, current, 1);
+		force_sig(SIGSEGV, current);
 		return;
 	} else {
 #ifdef DEBUG
@@ -609,7 +609,7 @@
 		printk("Unknown SIGSEGV - 3\n");
 #endif
 		die_if_kernel("Oops",&fp->ptregs,mmusr);
-		send_sig(SIGSEGV, current, 1);
+		force_sig(SIGSEGV, current);
 		return;
 	}
 
@@ -644,7 +644,7 @@
 #if DEBUG
 	  printk("Unknown SIGSEGV - 4\n");
 #endif
-	  send_sig(SIGSEGV, current, 1);
+	  force_sig(SIGSEGV, current);
 	}
 }
 
@@ -871,7 +871,7 @@
 		break;
 	}
 
-	send_sig (sig, current, 1);
+	force_sig (sig, current);
 }
 
 asmlinkage void set_esp0 (unsigned long ssp)

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