Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Put the extern decl of uvm_vnodeops in uvm_object.h
details: https://anonhg.NetBSD.org/src/rev/6c3c7d3cc320
branches: trunk
changeset: 503017:6c3c7d3cc320
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Jan 28 22:23:04 2001 +0000
description:
Put the extern decl of uvm_vnodeops in uvm_object.h
diffstat:
sys/uvm/uvm_object.h | 8 +++++++-
sys/uvm/uvm_page.c | 4 +---
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 9ebe99b34529 -r 6c3c7d3cc320 sys/uvm/uvm_object.h
--- a/sys/uvm/uvm_object.h Sun Jan 28 22:22:25 2001 +0000
+++ b/sys/uvm/uvm_object.h Sun Jan 28 22:23:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_object.h,v 1.9 2001/01/28 22:14:28 thorpej Exp $ */
+/* $NetBSD: uvm_object.h,v 1.10 2001/01/28 22:23:06 thorpej Exp $ */
/*
*
@@ -82,7 +82,13 @@
#define UVM_OBJ_IS_INTRSAFE_OBJECT(uobj) \
((uobj)->uo_refs == UVM_OBJ_KERN_INTRSAFE)
+#ifdef _KERNEL
+
+extern struct uvm_pagerops uvm_vnodeops;
+
#define UVM_OBJ_IS_VNODE(uobj) \
((uobj)->pgops == &uvm_vnodeops)
+#endif /* _KERNEL */
+
#endif /* _UVM_UVM_OBJECT_H_ */
diff -r 9ebe99b34529 -r 6c3c7d3cc320 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Sun Jan 28 22:22:25 2001 +0000
+++ b/sys/uvm/uvm_page.c Sun Jan 28 22:23:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.49 2001/01/28 22:14:52 thorpej Exp $ */
+/* $NetBSD: uvm_page.c,v 1.50 2001/01/28 22:23:04 thorpej Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -103,8 +103,6 @@
*/
boolean_t vm_page_zero_enable = FALSE;
-extern struct uvm_pagerops uvm_vnodeops;
-
/*
* local variables
*/
Home |
Main Index |
Thread Index |
Old Index