Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm make compile without VMSWAP. no functional change.
details: https://anonhg.NetBSD.org/src/rev/5384d6dcc084
branches: trunk
changeset: 768616:5384d6dcc084
user: oki <oki%NetBSD.org@localhost>
date: Tue Aug 23 03:00:35 2011 +0000
description:
make compile without VMSWAP. no functional change.
diffstat:
sys/uvm/uvm_pager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r a874ab02a174 -r 5384d6dcc084 sys/uvm/uvm_pager.c
--- a/sys/uvm/uvm_pager.c Tue Aug 23 00:52:33 2011 +0000
+++ b/sys/uvm/uvm_pager.c Tue Aug 23 03:00:35 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pager.c,v 1.102 2011/08/18 14:17:08 yamt Exp $ */
+/* $NetBSD: uvm_pager.c,v 1.103 2011/08/23 03:00:35 oki Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.102 2011/08/18 14:17:08 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.103 2011/08/23 03:00:35 oki Exp $");
#include "opt_uvmhist.h"
#include "opt_readahead.h"
@@ -300,7 +300,9 @@
#endif /* defined(VMSWAP) */
}
for (i = 0; i < npages; i++) {
+#if defined(VMSWAP)
bool anon_disposed = false; /* XXX gcc */
+#endif /* defined(VMSWAP) */
pg = pgs[i];
KASSERT(swap || pg->uobject == uobj);
Home |
Main Index |
Thread Index |
Old Index