patch-2.4.22 linux-2.4.22/arch/cris/kernel/traps.c
Next file: linux-2.4.22/arch/cris/lib/checksum.S
Previous file: linux-2.4.22/arch/cris/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/cris/kernel/traps.c
- Orig date:
2003-06-13 07:51:29.000000000 -0700
diff -urN linux-2.4.21/arch/cris/kernel/traps.c linux-2.4.22/arch/cris/kernel/traps.c
@@ -1,12 +1,11 @@
-/* $Id: traps.c,v 1.18 2002/12/02 08:11:41 starvik Exp $
- *
+/*
* linux/arch/cris/traps.c
*
- * Here we handle the break vectors not used by the system call
- * mechanism, as well as some general stack/register dumping
+ * Here we handle the break vectors not used by the system call
+ * mechanism, as well as some general stack/register dumping
* things.
- *
- * Copyright (C) 2000,2001 Axis Communications AB
+ *
+ * Copyright (C) 2000, 2001, 2002, 2003 Axis Communications AB
*
* Authors: Bjorn Wesen
* Hans-Peter Nilsson
@@ -216,6 +215,8 @@
* we have the nice doggy development flag set, we halt here
* instead of rebooting.
*/
+extern void reset_watchdog(void);
+extern void stop_watchdog(void);
void
watchdog_bite_hook(struct pt_regs *regs)
@@ -239,9 +240,6 @@
void
die_if_kernel(const char * str, struct pt_regs * regs, long err)
{
- extern void reset_watchdog(void);
- extern void stop_watchdog(void);
-
if(user_mode(regs))
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)