summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2000-06-06 20:54:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2000-06-06 20:54:13 +0000
commit0dc1e1d6e95c53b86d6fb4b74fe6c20713ba5024 (patch)
treee7560ba90d301441d007447bf4d9b66ec619939a /sys/arch
parent73c0574a026038495684f099bd19d32fff7614a3 (diff)
include ksyms.h to have correct NKSYMS value (oops)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sun3/sun3/sun3_startup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sun3/sun3/sun3_startup.c b/sys/arch/sun3/sun3/sun3_startup.c
index b7b43ecc114..f93ca6a9b4f 100644
--- a/sys/arch/sun3/sun3/sun3_startup.c
+++ b/sys/arch/sun3/sun3/sun3_startup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sun3_startup.c,v 1.12 2000/04/30 15:30:29 miod Exp $ */
+/* $OpenBSD: sun3_startup.c,v 1.13 2000/06/06 20:54:12 miod Exp $ */
/* $NetBSD: sun3_startup.c,v 1.55 1996/11/20 18:57:38 gwr Exp $ */
/*-
@@ -61,6 +61,8 @@
#include "vector.h"
#include "interreg.h"
+#include "ksyms.h"
+
/* This is defined in locore.s */
extern char kernel_text[];
@@ -111,7 +113,9 @@ static void sun3_mode_normal __P((void));
static void sun3_mon_init __P((vm_offset_t sva, vm_offset_t eva, int keep));
static void sun3_monitor_hooks __P((void));
static void sun3_context_equiv __P((void));
+#if (defined(DDB) || NKSYMS > 0) && !defined(SYMTAB_SPACE)
static void sun3_save_symtab __P((struct exec *kehp));
+#endif
static void sun3_verify_hardware __P((void));
static void sun3_vm_init __P((struct exec *kehp));
static void tracedump __P((int));