summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-08-18 14:05:40 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-08-18 14:05:40 +0000
commitc30d1328ae88b598c3b208df9eb43a2628a78667 (patch)
treef5759f1d6a7873b8a48ded417e8a33b294b5ec94
parenta13335245e365edf95b19dbe5f35e83ea981c034 (diff)
some ifndef UVM
-rw-r--r--sys/vm/vm_pager.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/vm/vm_pager.h b/sys/vm/vm_pager.h
index a612d9f2cee..949bd276f88 100644
--- a/sys/vm/vm_pager.h
+++ b/sys/vm/vm_pager.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_pager.h,v 1.6 1998/03/01 00:38:24 niklas Exp $ */
+/* $OpenBSD: vm_pager.h,v 1.7 1999/08/18 14:05:39 art Exp $ */
/* $NetBSD: vm_pager.h,v 1.10 1995/03/26 20:39:15 jtc Exp $ */
/*
@@ -49,6 +49,7 @@
#ifndef _VM_PAGER_
#define _VM_PAGER_
+#if !defined(UVM)
TAILQ_HEAD(pagerlst, pager_struct);
struct pager_struct {
@@ -102,6 +103,7 @@ struct pagerops {
int (*pgo_count) /* How many pages in pager? */
__P((vm_pager_t));
};
+#endif /* !UVM */
/*
* get/put return values
@@ -124,7 +126,7 @@ struct pagerops {
#define VM_PAGER_UNLOCK 6
#define VM_PAGER_REFAULT 7
-#ifdef _KERNEL
+#if defined(_KERNEL) && !defined(UVM)
extern struct pagerops *dfltpagerops;
vm_pager_t vm_pager_allocate
@@ -159,6 +161,6 @@ void vm_pager_unmap_pages __P((vm_offset_t, int));
*/
int vm_pager_get __P((vm_pager_t, vm_page_t, boolean_t));
int vm_pager_put __P((vm_pager_t, vm_page_t, boolean_t));
-#endif
+#endif /* _KERNEL && !UVM */
#endif /* _VM_PAGER_ */