summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-02-26 02:15:42 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-02-26 02:15:42 +0000
commit9df19dc425b93eec8a188b182838c93d559b039b (patch)
tree1ef1471b5258b9ae7ca1faba3ec4e9dccda67d33
parent0a11d93646e3a8ba9a70e34a8d4874271160bdb0 (diff)
uvm doesn't need swbuf or bswlist
-rw-r--r--sys/sys/buf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index 869b978fee2..24c66801ab1 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.h,v 1.14 1998/11/12 04:30:02 csapuntz Exp $ */
+/* $OpenBSD: buf.h,v 1.15 1999/02/26 02:15:41 art Exp $ */
/* $NetBSD: buf.h,v 1.25 1997/04/09 21:12:17 mycroft Exp $ */
/*
@@ -183,9 +183,11 @@ int nbuf; /* The number of buffer headers */
struct buf *buf; /* The buffer headers. */
char *buffers; /* The buffer contents. */
int bufpages; /* Number of memory pages in the buffer pool. */
-struct buf *swbuf; /* Swap I/O buffer headers. */
int nswbuf; /* Number of swap I/O buffer headers. */
+#if !defined(UVM)
+struct buf *swbuf; /* Swap I/O buffer headers. */
struct buf bswlist; /* Head of swap I/O buffer headers free list. */
+#endif
__BEGIN_DECLS
void allocbuf __P((struct buf *, int));