summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-01-19 19:40:45 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-01-19 19:40:45 +0000
commit5807256ee7e83f4f5a43e54575268e4c5af34115 (patch)
tree57a2bab662ba64d8c29ee2e29ec23d4c684dfa84
parent95d999ac7ba34f9d689b92cba9924213dcabba8a (diff)
Formerly pagemap.c.~2~
-rw-r--r--libpager/pagemap.c5
1 files 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 <string.h>
/* 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;