diff options
Diffstat (limited to 'libpager/pagemap.c')
-rw-r--r-- | libpager/pagemap.c | 5 |
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; |