Module Name: src
Committed By: pooka
Date: Tue Sep 7 04:45:22 UTC 2010
Modified Files:
src/sys/uvm: uvm_pdaemon.h
Log Message:
Make "no options VMSWAP" kernels compile again.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/uvm/uvm_pdaemon.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_pdaemon.h
diff -u src/sys/uvm/uvm_pdaemon.h:1.15 src/sys/uvm/uvm_pdaemon.h:1.16
--- src/sys/uvm/uvm_pdaemon.h:1.15 Wed Jan 2 11:49:20 2008
+++ src/sys/uvm/uvm_pdaemon.h Tue Sep 7 04:45:22 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pdaemon.h,v 1.15 2008/01/02 11:49:20 ad Exp $ */
+/* $NetBSD: uvm_pdaemon.h,v 1.16 2010/09/07 04:45:22 pooka Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -83,7 +83,11 @@
bool uvm_reclaimable(void);
kmutex_t *uvmpd_trylockowner(struct vm_page *);
+#ifdef VMSWAP
bool uvmpd_trydropswap(struct vm_page *);
+#else
+#define uvmpd_trydropswap(_a_) (/*CONSTCOND*/false)
+#endif
#endif /* _KERNEL */