diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index b8a3e7df1613..671ae3dba053 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -43,7 +43,7 @@ * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 * from: i386 Id: pmap.c,v 1.193 1998/04/19 15:22:48 bde Exp * with some ideas from NetBSD's alpha pmap - * $Id: pmap.c,v 1.27 1999/06/28 09:38:09 peter Exp $ + * $Id: pmap.c,v 1.28 1999/07/21 18:01:26 alc Exp $ */ /* @@ -2306,7 +2306,7 @@ pmap_object_init_pt(pmap_t pmap, vm_offset_t addr, vm_page_t p, mpte; int objpgs; - if (!pmap) + if (pmap == NULL || object == NULL) return; psize = alpha_btop(size); diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 6408ece91dd6..bf78df855c98 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.242 1999/07/21 18:01:40 alc Exp $ + * $Id: pmap.c,v 1.243 1999/07/31 04:10:31 alc Exp $ */ /* @@ -2320,7 +2320,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) vm_page_t p, mpte; int objpgs; - if (!pmap) + if (pmap == NULL || object == NULL) return; /* diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 6408ece91dd6..bf78df855c98 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.242 1999/07/21 18:01:40 alc Exp $ + * $Id: pmap.c,v 1.243 1999/07/31 04:10:31 alc Exp $ */ /* @@ -2320,7 +2320,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) vm_page_t p, mpte; int objpgs; - if (!pmap) + if (pmap == NULL || object == NULL) return; /*