summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-01-18 00:10:11 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-01-18 00:10:11 +0000
commitd7771e8850a87b1f99801c7d01352bd93bcfccd6 (patch)
treea532cfd1d08edf53649a779b1768a09592a5a962 /libpager
parent507e6020d2f365eee05a36f55e8b2b6e3526fa4f (diff)
Formerly data-unlock.c.~3~
Diffstat (limited to 'libpager')
-rw-r--r--libpager/data-unlock.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/libpager/data-unlock.c b/libpager/data-unlock.c
index 9f2ba8d7..57a55511 100644
--- a/libpager/data-unlock.c
+++ b/libpager/data-unlock.c
@@ -16,16 +16,13 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Called by the kernel to request a lock on memory. */
-/* We provide all data read-write except for "holes". Therefore,
- lock requests should only happen for holes, and this routine does the
- allocation. */
kern_return_t
-seqnos_memory_object_data_unlock (mach_port_t object,
- mach_port_seqno_t seqno,
- mach_port_t control,
- vm_offset_t offset,
- vm_size_t length,
- vm_prot_t access)
+_pager_seqnos_memory_object_data_unlock (mach_port_t object,
+ mach_port_seqno_t seqno,
+ mach_port_t control,
+ vm_offset_t offset,
+ vm_size_t length,
+ vm_prot_t access)
{
struct pager *p;
volatile int err;