aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
commitce02431ffafa566f9c73b08cd91a3f5b12ff443e (patch)
tree89ce394b74486e2406d5e017bd9e369a6dcbc81b /sys/amd64
parentd207e2138aa6df3717005151a3c333a96cf7aa4c (diff)
downloadsrc-ce02431ffafa566f9c73b08cd91a3f5b12ff443e.tar.gz
src-ce02431ffafa566f9c73b08cd91a3f5b12ff443e.zip
* Change sysctl from using linker_set to construct its tree using SLISTs.
This makes it possible to change the sysctl tree at runtime. * Change KLD to find and register any sysctl nodes contained in the loaded file and to unregister them when the file is unloaded. Reviewed by: Archie Cobbs <archie@whistle.com>, Peter Wemm <peter@netplex.com.au> (well they looked at it anyway)
Notes
Notes: svn path=/head/; revision=44078
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/vm_machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c
index 5ea99bfae629..a7a0b0089e25 100644
--- a/sys/amd64/amd64/vm_machdep.c
+++ b/sys/amd64/amd64/vm_machdep.c
@@ -38,7 +38,7 @@
*
* from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
* Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
- * $Id: vm_machdep.c,v 1.117 1999/02/08 00:37:35 dillon Exp $
+ * $Id: vm_machdep.c,v 1.118 1999/02/08 02:42:12 dillon Exp $
*/
#include "npx.h"
@@ -576,6 +576,7 @@ grow_stack(p, sp)
}
#endif
+SYSCTL_DECL(_vm_stats_misc);
static int cnt_prezero;