summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-01-19 18:27:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-01-19 18:27:04 +0000
commit4f97674924f1d27587e5c05ef138af0d8159c011 (patch)
treee9c58ff6a89c6f9c05d5e580748c41e1e10e8f0c
parent47131051c6e4e8b4d2ab9eab4c309d59f0ddbd6a (diff)
Formerly lock-object.c.~2~
-rw-r--r--libpager/lock-object.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/libpager/lock-object.c b/libpager/lock-object.c
index c00f5170..f6a06aea 100644
--- a/libpager/lock-object.c
+++ b/libpager/lock-object.c
@@ -15,18 +15,19 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "priv.h"
/* Request a lock from the kernel. Parameters are as for
memory_object_lock_request. If SYNC is set, then wait for
the operation to fully complete before returning. */
void
-lock_object (struct pager *p,
- vm_offset_t offset,
- vm_size_t size,
- int should_return,
- int should_flush,
- vm_prot_t lock_value,
- int sync)
+_pager_lock_object (struct pager *p,
+ vm_offset_t offset,
+ vm_size_t size,
+ int should_return,
+ int should_flush,
+ vm_prot_t lock_value,
+ int sync)
{
struct lock_request *lr = 0;