summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-08-12 23:18:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-08-12 23:18:38 +0000
commit3843bff3e36cdf345e5a666c5df30c39fad53bb9 (patch)
treef250ad0e8bb4d04d2df5b5877caf536942781ddf /sys
parent0f5a4af4b800062b757db11e63214bbfacc21e01 (diff)
Oh, and STACKCHECK also is a 4.4BSDism.
Diffstat (limited to 'sys')
-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().