summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 17:09:55 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 17:09:55 +0000
commit6e06b2edf842ac062f7b948e5d15257431a90ccf (patch)
tree1b1cfb50c2dc37ea94670125635da040d43a3f48
parent7da99141bedd9812ce9ad7cdde6e657721435b49 (diff)
(pager_create): New parm BUCKET. Allocate port using new ports
interface.
-rw-r--r--libpager/pager-create.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpager/pager-create.c b/libpager/pager-create.c
index d9d8a2d4..27882db8 100644
--- a/libpager/pager-create.c
+++ b/libpager/pager-create.c
@@ -1,5 +1,5 @@
/* Pager creation
- Copyright (C) 1994 Free Software Foundation
+ Copyright (C) 1994, 1995 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
@@ -20,12 +20,13 @@
/* Create and return a new pager with user info UPI. */
struct pager *
pager_create (struct user_pager_info *upi,
+ struct port_bucket *bucket,
boolean_t may_cache,
memory_object_copy_strategy_t copy_strategy)
{
struct pager *p;
- p = ports_allocate_port (sizeof (struct pager), pager_port_type);
+ p = ports_allocate_port (bucket, sizeof (struct pager), _pager_class);
p->upi = upi;
p->pager_state = NOTINIT;