summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/sparc64/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/sparc64/machdep.c')
-rw-r--r--sys/arch/sparc64/sparc64/machdep.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c
index ddf79f9c508..207fe4e8859 100644
--- a/sys/arch/sparc64/sparc64/machdep.c
+++ b/sys/arch/sparc64/sparc64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.47 2002/07/20 19:24:57 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.48 2002/10/06 20:18:54 art Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
@@ -149,6 +149,15 @@ int bus_space_debug = 0; /* This may be used by macros elsewhere. */
struct vm_map *exec_map = NULL;
extern vaddr_t avail_end;
+/*
+ * Declare these as initialized data so we can patch them.
+ */
+#ifdef NBUF
+int nbuf = NBUF;
+#else
+int nbuf = 0;
+#endif
+
#ifndef BUFCACHEPERCENT
#define BUFCACHEPERCENT 5
#endif