patch-2.4.0-test3 linux/arch/mips/kernel/fpe.c

Next file: linux/arch/mips/kernel/head.S
Previous file: linux/arch/mips/kernel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/arch/mips/kernel/fpe.c linux/arch/mips/kernel/fpe.c
@@ -4,9 +4,7 @@
  * in the kernel space a lot easier.  So far this handler in the released
  * kernel source is just a dummy.
  *
- * Copyright (C) 1997 Ralf Baechle
- *
- * $Id: fpe.c,v 1.3 1998/04/05 11:23:50 ralf Exp $
+ * Copyright (C) 1997, 2000 Ralf Baechle
  */
 #include <linux/kernel.h>
 #include <linux/module.h>
@@ -24,7 +22,6 @@
 
 static void do_fpe(struct pt_regs *regs, unsigned int fcr31)
 {
-	lock_kernel();
 #ifdef CONF_DEBUG_EXCEPTIONS
 	show_regs(regs);
 #endif
@@ -34,7 +31,6 @@
 		goto out;
 	force_sig(SIGFPE, current);
 out:
-	unlock_kernel();
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)