From 22ceb237f0acde5a7f56b22bcbec381eb41db3f8 Mon Sep 17 00:00:00 2001 From: dfr Date: Tue, 16 Feb 1999 10:49:55 +0000 Subject: * 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 , Peter Wemm (well they looked at it anyway) --- sys/amd64/amd64/vm_machdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/amd64/amd64/vm_machdep.c') diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index 5ea99bf..a7a0b00 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; -- cgit v1.1