Module Name: src
Committed By: uebayasi
Date: Sat Nov 6 15:48:01 UTC 2010
Modified Files:
src/sys/uvm: uvm_pglist.h
Log Message:
Provide a forward declaration of "struct vm_page", whose internal
is opaque to uvm_pglist.h users. Users don't need to pull in
uvm_page.h.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/uvm/uvm_pglist.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_pglist.h
diff -u src/sys/uvm/uvm_pglist.h:1.7 src/sys/uvm/uvm_pglist.h:1.8
--- src/sys/uvm/uvm_pglist.h:1.7 Wed Jun 4 12:45:28 2008
+++ src/sys/uvm/uvm_pglist.h Sat Nov 6 15:48:00 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pglist.h,v 1.7 2008/06/04 12:45:28 ad Exp $ */
+/* $NetBSD: uvm_pglist.h,v 1.8 2010/11/06 15:48:00 uebayasi Exp $ */
/*-
* Copyright (c) 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -36,6 +36,7 @@
* This defines the type of a page queue, e.g. active list, inactive
* list, etc.
*/
+struct vm_page;
TAILQ_HEAD(pglist, vm_page);
LIST_HEAD(pgflist, vm_page);