diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-01-13 21:00:43 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-01-13 21:00:43 +0000 |
commit | 877ab2a6f43b86b23a1f661ce74a31dcdf125682 (patch) | |
tree | 6e79190d1340617c1a7f68e1bca4f3b5fb03fa17 | |
parent | 54772067a21af8495122534642ec416b8610fe23 (diff) |
Formerly pager-flush.c.~2~
-rw-r--r-- | libpager/pager-flush.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpager/pager-flush.c b/libpager/pager-flush.c index aad86117..4e5b754a 100644 --- a/libpager/pager-flush.c +++ b/libpager/pager-flush.c @@ -26,7 +26,7 @@ pager_flush (struct pager *p, int wait) pager_report_extent (p->upi, &offset, &len); - lock_object (p, offset, len, MEMORY_OBJECT_RETURN_NONE, 1 + lock_object (p, offset, len, MEMORY_OBJECT_RETURN_NONE, 1, VM_PROT_NONE, wait); } @@ -34,10 +34,10 @@ pager_flush (struct pager *p, int wait) /* Have the kernel write back some pages of a pager; if WAIT is set, then wait for them to be finally written before returning. */ void -pager_sync_some (struct pager *p, vm_address_t offset, +pager_flush_some (struct pager *p, vm_address_t offset, vm_size_t size, int wait) { - lock_object (p, offset, len, MEMORY_OBJECT_RETURN_DIRTY, 0 - VM_PROT_NO_CHANGE, wait); + lock_object (p, offset, len, MEMORY_OBJECT_RETURN_NONE, 1, + VM_PROT_NONE, wait); } |