summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-23 17:24:37 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-23 17:24:37 +0000
commitd9bfe816e36d20e7a0434b5c927e263491e5ea24 (patch)
tree64b18185d3f2b170bd4af1ebb0a1c9be123629cf /libpager
parent9508861ecd352401500333f5b5033344f7fd4e03 (diff)
Formerly object-init.c.~10~
Diffstat (limited to 'libpager')
-rw-r--r--libpager/object-init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpager/object-init.c b/libpager/object-init.c
index fe31e8ca..9d99fa8b 100644
--- a/libpager/object-init.c
+++ b/libpager/object-init.c
@@ -29,8 +29,6 @@ _pager_seqnos_memory_object_init (mach_port_t object,
vm_size_t pagesize)
{
struct pager *p;
- boolean_t may_cache;
- memory_object_copy_strategy_t copy_strategy;
if (!(p = ports_check_port_type (object, pager_port_type)))
return EOPNOTSUPP;
@@ -54,8 +52,7 @@ _pager_seqnos_memory_object_init (mach_port_t object,
p->memobjcntl = control;
p->memobjname = name;
- pager_report_attributes (p->upi, &may_cache, &copy_strategy);
- memory_object_ready (control, may_cache, copy_strategy);
+ memory_object_ready (control, p->may_cache, p->copy_strategy);
p->pager_state = NORMAL;