From 37c88c58da11845ec086842cb63e2035f5fb2ae6 Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 24 Mar 1999 03:45:27 +0000 Subject: [PATCH] after discussion with chuck, nuke pgo_attach from uvm_pagerops --- sys/uvm/uvm_aobj.c | 3 +-- sys/uvm/uvm_device.c | 3 +-- sys/uvm/uvm_km.c | 3 +-- sys/uvm/uvm_pager.h | 4 +--- sys/uvm/uvm_vnode.c | 3 +-- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/sys/uvm/uvm_aobj.c b/sys/uvm/uvm_aobj.c index 7d354748ec23..fc82490e5dd8 100644 --- a/sys/uvm/uvm_aobj.c +++ b/sys/uvm/uvm_aobj.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_aobj.c,v 1.15 1998/10/18 23:49:59 chs Exp $ */ +/* $NetBSD: uvm_aobj.c,v 1.16 1999/03/24 03:45:27 cgd Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -201,7 +201,6 @@ static boolean_t uao_releasepg __P((struct vm_page *, struct uvm_pagerops aobj_pager = { uao_init, /* init */ - NULL, /* attach */ uao_reference, /* reference */ uao_detach, /* detach */ NULL, /* fault */ diff --git a/sys/uvm/uvm_device.c b/sys/uvm/uvm_device.c index 405d013f00a8..84e710060341 100644 --- a/sys/uvm/uvm_device.c +++ b/sys/uvm/uvm_device.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_device.c,v 1.11 1998/11/19 05:23:26 mrg Exp $ */ +/* $NetBSD: uvm_device.c,v 1.12 1999/03/24 03:45:27 cgd Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -93,7 +93,6 @@ static int udv_put __P((struct uvm_object *, vm_page_t *, struct uvm_pagerops uvm_deviceops = { udv_init, - udv_attach, udv_reference, udv_detach, udv_fault, diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index 49408d9bc109..1a7380fa20fa 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_km.c,v 1.18 1998/10/18 23:49:59 chs Exp $ */ +/* $NetBSD: uvm_km.c,v 1.19 1999/03/24 03:45:27 cgd Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -179,7 +179,6 @@ static struct uvm_object mb_object_store; static struct uvm_pagerops km_pager = { NULL, /* init */ - NULL, /* attach */ NULL, /* reference */ NULL, /* detach */ NULL, /* fault */ diff --git a/sys/uvm/uvm_pager.h b/sys/uvm/uvm_pager.h index f48082e4b441..9a01e8121c30 100644 --- a/sys/uvm/uvm_pager.h +++ b/sys/uvm/uvm_pager.h @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_pager.h,v 1.7 1998/08/13 02:11:03 eeh Exp $ */ +/* $NetBSD: uvm_pager.h,v 1.8 1999/03/24 03:45:28 cgd Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -66,8 +66,6 @@ struct uvm_aiodesc { struct uvm_pagerops { void (*pgo_init) __P((void));/* init pager */ - struct uvm_object * (*pgo_attach) /* get uvm_object */ - __P((void *, vm_prot_t)); void (*pgo_reference) /* add reference to obj */ __P((struct uvm_object *)); void (*pgo_detach) /* drop reference to obj */ diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c index 48fe365f5817..b502b2cf697c 100644 --- a/sys/uvm/uvm_vnode.c +++ b/sys/uvm/uvm_vnode.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_vnode.c,v 1.19 1999/03/04 06:48:54 chs Exp $ */ +/* $NetBSD: uvm_vnode.c,v 1.20 1999/03/24 03:45:28 cgd Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -120,7 +120,6 @@ static boolean_t uvn_releasepg __P((struct vm_page *, struct uvm_pagerops uvm_vnodeops = { uvn_init, - uvn_attach, uvn_reference, uvn_detach, NULL, /* no specialized fault routine required */