summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm/uvm_stat.h')
-rw-r--r--sys/uvm/uvm_stat.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/uvm/uvm_stat.h b/sys/uvm/uvm_stat.h
index 2644314f99c..94dc3bb1a39 100644
--- a/sys/uvm/uvm_stat.h
+++ b/sys/uvm/uvm_stat.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: uvm_stat.h,v 1.11 2001/11/28 19:28:15 art Exp $ */
-/* $NetBSD: uvm_stat.h,v 1.22 2001/05/30 11:57:17 mrg Exp $ */
+/* $OpenBSD: uvm_stat.h,v 1.12 2001/12/19 08:58:07 art Exp $ */
+/* $NetBSD: uvm_stat.h,v 1.19 2001/02/04 10:55:58 mrg Exp $ */
/*
*
@@ -38,10 +38,6 @@
#ifndef _UVM_UVM_STAT_H_
#define _UVM_UVM_STAT_H_
-#if defined(_KERNEL_OPT)
-#include "opt_uvmhist.h"
-#endif
-
#include <sys/queue.h>
/*
@@ -117,7 +113,7 @@ struct uvm_history {
LIST_ENTRY(uvm_history) list; /* link on list of all histories */
int n; /* number of entries */
int f; /* next free one */
- struct simplelock l; /* lock on this history */
+ simple_lock_data_t l; /* lock on this history */
struct uvm_history_ent *e; /* the malloc'd entries */
};
@@ -232,7 +228,7 @@ do { \
#define UVMHIST_FUNC(FNAME) \
static int _uvmhist_cnt = 0; \
static char *_uvmhist_name = FNAME; \
- int _uvmhist_call;
+ int _uvmhist_call;
static __inline void uvmhist_print __P((struct uvm_history_ent *));