patch-2.3.23 linux/arch/sh/kernel/traps.c
Next file: linux/arch/sh/lib/Makefile
Previous file: linux/arch/sh/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Oct 18 11:16:13 1999
- Orig file:
v2.3.22/linux/arch/sh/kernel/traps.c
- Orig date:
Fri Sep 10 23:57:28 1999
diff -u --recursive --new-file v2.3.22/linux/arch/sh/kernel/traps.c linux/arch/sh/kernel/traps.c
@@ -1,4 +1,5 @@
-/*
+/* $Id: traps.c,v 1.3 1999/09/21 14:37:19 gniibe Exp $
+ *
* linux/arch/sh/traps.c
*
* SuperH version: Copyright (C) 1999 Niibe Yutaka
@@ -56,10 +57,6 @@
#define VMALLOC_OFFSET (8*1024*1024)
#define MODULE_RANGE (8*1024*1024)
-static void show_registers(struct pt_regs *regs)
-{/* Not implemented yet. */
-}
-
spinlock_t die_lock;
void die(const char * str, struct pt_regs * regs, long err)
@@ -67,7 +64,7 @@
console_verbose();
spin_lock_irq(&die_lock);
printk("%s: %04lx\n", str, err & 0xffff);
- show_registers(regs);
+ show_regs(regs);
spin_unlock_irq(&die_lock);
do_exit(SIGSEGV);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)