patch-2.4.0-test9 linux/arch/arm/mm/fault-armv.c
Next file: linux/arch/arm/mm/fault-common.c
Previous file: linux/arch/arm/mm/fault-armo.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Sep 18 15:15:25 2000
- Orig file:
v2.4.0-test8/linux/arch/arm/mm/fault-armv.c
- Orig date:
Mon Jun 19 17:59:34 2000
diff -u --recursive --new-file v2.4.0-test8/linux/arch/arm/mm/fault-armv.c linux/arch/arm/mm/fault-armv.c
@@ -3,8 +3,11 @@
*
* Copyright (C) 1995 Linus Torvalds
* Modifications for ARM processor (c) 1995-1999 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
*/
-
#include <linux/config.h>
#include <linux/signal.h>
#include <linux/sched.h>
@@ -399,7 +402,11 @@
return;
bad:
force_sig(inf->sig, current);
- die_if_kernel(inf->name, regs, fsr);
+
+ printk(KERN_ALERT "Unhandled fault: %s (%X) at 0x%08lx\n",
+ inf->name, fsr, addr);
+ show_pte(current->mm, addr);
+ die_if_kernel("Oops", regs, 0);
return;
weirdness:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)