summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-21 14:09:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-21 14:09:36 +0000
commit621f0d3911c5e59f98737d399cc54ac5e8cef1f7 (patch)
treeecc9d95dc2c8248a843f171a4c63937a7e35d8a4 /sys/arch
parentaa5d82d5bc8fd9aafb5a3da9b52230a02eceb827 (diff)
globalize kgdb_debug_panic extern
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/sparc/autoconf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index 8d31f5060ff..d9a6c4236ef 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -88,6 +88,10 @@ int mmu_3l; /* SUN4_400 models have a 3-level MMU */
extern struct promvec *promvec;
+#ifdef KGDB
+extern int kgdb_debug_panic;
+#endif
+
static int rootnode;
int findroot __P((void));
void setroot __P((void));
@@ -168,9 +172,6 @@ void
bootstrap()
{
int nregion, nsegment, ncontext, node;
-#ifdef KGDB
- extern int kgdb_debug_panic;
-#endif
#if defined(SUN4)
extern void oldmon_w_cmd();