aboutsummaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-10-21 01:19:28 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-10-21 01:19:28 +0000
commit091b0456f4cd9432edb77e80420f9565ad504b32 (patch)
tree5fc19e7150289ae5b5e20a8e8f5051859ddcad22 /sys/vm
parent09f7992adf4e70bea5d756ee3f27116ae4deb4bd (diff)
downloadsrc-091b0456f4cd9432edb77e80420f9565ad504b32.tar.gz
src-091b0456f4cd9432edb77e80420f9565ad504b32.zip
Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).
This involves fixing a few things I broke last time.
Notes
Notes: svn path=/head/; revision=3745
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_page.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index cfbfce22f77e..c86c98e7b8c7 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_page.h,v 1.7 1994/10/05 09:48:44 davidg Exp $
+ * $Id: vm_page.h,v 1.8 1994/10/17 10:43:56 davidg Exp $
*/
/*
@@ -261,6 +261,10 @@ vm_page_hold(mem)
mem->hold_count++;
}
+#ifdef DIAGNOSTIC
+#include <sys/systm.h> /* make GCC shut up */
+#endif
+
static inline void
vm_page_unhold(mem)
vm_page_t mem;