From 4e35ce4cf8d6c64974b1d63a9c79f6159ce3e727 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 18 Mar 1996 18:10:29 +0000 Subject: (pager_flush): Lock request should be VM_PROT_NO_CHANGE, not VM_PROT_NONE. (pager_flush_some): Likewise. --- libpager/pager-flush.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libpager/pager-flush.c b/libpager/pager-flush.c index c774c3ab..55a76de6 100644 --- a/libpager/pager-flush.c +++ b/libpager/pager-flush.c @@ -1,5 +1,5 @@ /* Functions for flushing data - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -28,7 +28,7 @@ pager_flush (struct pager *p, int wait) pager_report_extent (p->upi, &offset, &len); _pager_lock_object (p, offset, len, MEMORY_OBJECT_RETURN_NONE, 1, - VM_PROT_NONE, wait); + VM_PROT_NO_CHANGE, wait); } @@ -40,6 +40,6 @@ pager_flush_some (struct pager *p, vm_address_t offset, vm_size_t size, int wait) { _pager_lock_object (p, offset, size, MEMORY_OBJECT_RETURN_NONE, 1, - VM_PROT_NONE, wait); + VM_PROT_NO_CHANGE, wait); } -- cgit v1.2.3