summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Planeta <mcsim.planeta@gmail.com>2012-02-08 14:23:49 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-26 23:56:43 +0200
commit3d5ea3e4ca000383cb61eb21d408fc239f2e2247 (patch)
treef9f3fbc9577791f15d0896fc816eb1aa80bf0067
parentd60340fe2d156a9a167fc6e19e55e09ae359873d (diff)
Correct function calling.
* mach-defpager/default_pager.c (S_default_pager_object_set_size, seqnos_memory_object_lock_completed): Correct calling of function pager_port_unlock.
-rw-r--r--mach-defpager/default_pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index ca53ac6c..7b43421b 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -2915,7 +2915,7 @@ seqnos_memory_object_lock_completed (memory_object_t pager,
/* Deallocate the old backing store pages and shrink the page map. */
pager_truncate (&ds->dpager, ds->dpager.limit / vm_page_size);
- pager_port_unlock(ds, seqno);
+ pager_port_unlock(ds);
return KERN_SUCCESS;
}
@@ -3758,7 +3758,7 @@ S_default_pager_object_set_size (mach_port_t pager,
/* There is already another call in progress. Tough titties. */
kr = KERN_FAILURE;
- pager_port_unlock(ds, seqno);
+ pager_port_unlock(ds);
return kr;
}