summaryrefslogtreecommitdiff
path: root/sys/vm/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm.h')
-rw-r--r--sys/vm/vm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/vm/vm.h b/sys/vm/vm.h
index 1f63279b69d..07c188f3043 100644
--- a/sys/vm/vm.h
+++ b/sys/vm/vm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm.h,v 1.5 1997/11/06 05:59:31 csapuntz Exp $ */
+/* $OpenBSD: vm.h,v 1.6 1998/03/01 00:38:01 niklas Exp $ */
/* $NetBSD: vm.h,v 1.13 1994/06/29 06:47:52 cgd Exp $ */
/*
@@ -39,6 +39,8 @@
#ifndef VM_H
#define VM_H
+/* XXX remove this later when the simple locks are not here! */
+
typedef int vm_inherit_t; /* XXX: inheritance codes */
union vm_map_object;
@@ -62,10 +64,12 @@ typedef struct pager_struct *vm_pager_t;
/*
* MACH VM locking type mappings to kernel types
*/
+#if !defined(UVM)
typedef struct simplelock simple_lock_data_t;
typedef struct simplelock *simple_lock_t;
typedef struct lock lock_data_t;
typedef struct lock *lock_t;
+#endif
#include <sys/vmmeter.h>
#include <sys/queue.h>