From 6e06b2edf842ac062f7b948e5d15257431a90ccf Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 20 Jun 1995 17:09:55 +0000 Subject: (pager_create): New parm BUCKET. Allocate port using new ports interface. --- libpager/pager-create.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libpager') 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; -- cgit v1.2.3