summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-11-25 19:11:39 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-11-25 19:11:39 +0000
commit7093c79be6c40e8404e2ccd873052d736fdee798 (patch)
treef3ebdae64a393dfc08f48c21acc13a0c45feab8c
parent7f665a6015e495abc0d3f4e6219f3c43082be53d (diff)
re-add uvm_objwire and uvm_objunwire. needed for intel GEM support.
It was backed out as part of the date-based revert after c2k9. "you can commit that" kettenis@ original diff oked by ariane@, art@.
-rw-r--r--sys/uvm/uvm_object.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/uvm/uvm_object.h b/sys/uvm/uvm_object.h
index b1b9366fe57..1b197803125 100644
--- a/sys/uvm/uvm_object.h
+++ b/sys/uvm/uvm_object.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_object.h,v 1.15 2009/08/06 15:28:14 oga Exp $ */
+/* $OpenBSD: uvm_object.h,v 1.16 2009/11/25 19:11:38 oga Exp $ */
/* $NetBSD: uvm_object.h,v 1.11 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -98,6 +98,9 @@ RB_PROTOTYPE(uvm_objtree, vm_page, objt, uvm_pagecmp)
((struct vnode *)uobj)->v_flag & VTEXT)
+int uvm_objwire(struct uvm_object *, off_t, off_t, struct pglist *);
+void uvm_objunwire(struct uvm_object *, off_t, off_t);
+
#endif /* _KERNEL */
#endif /* _UVM_UVM_OBJECT_H_ */