summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme68k/mvme68k/machdep.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c
index 1118790856c..62b4f047591 100644
--- a/sys/arch/mvme68k/mvme68k/machdep.c
+++ b/sys/arch/mvme68k/mvme68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.47 2001/08/12 22:59:37 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.48 2001/08/12 23:18:37 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -1170,24 +1170,6 @@ int len;
return (nbuf);
}
-#ifdef STACKCHECK
-char oflowmsg[] = "k-stack overflow";
-char uflowmsg[] = "k-stack underflow";
-
-badkstack(oflow, fr)
-int oflow;
-struct frame fr;
-{
- extern char kstackatbase[];
-
- printf("%s: sp should be %x\n",
- oflow ? oflowmsg : uflowmsg,
- kstackatbase - (exframesize[fr.f_format] + 8));
- regdump(&fr, 0);
- panic(oflow ? oflowmsg : uflowmsg);
-}
-#endif
-
/*
* cpu_exec_aout_makecmds():
* cpu-dependent a.out format hook for execve().