From 5807256ee7e83f4f5a43e54575268e4c5af34115 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 19 Jan 1994 19:40:45 +0000 Subject: Formerly pagemap.c.~2~ --- libpager/pagemap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libpager/pagemap.c b/libpager/pagemap.c index c09a4d04..2e7b3fc7 100644 --- a/libpager/pagemap.c +++ b/libpager/pagemap.c @@ -15,6 +15,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "priv.h" +#include /* Grow the pagemap as necessary to deal with address OFF */ void @@ -24,9 +26,6 @@ pagemap_resize (struct pager *p, void *newaddr; int newsize; - if (p->pagemapsize && !p->pagemap) - panic ("pagemap failure"); - off /= __vm_page_size; if (p->pagemapsize >= off) return; -- cgit v1.2.3