summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/alpha/pmap.c4
-rw-r--r--sys/amd64/amd64/pmap.c4
-rw-r--r--sys/i386/i386/pmap.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c
index b8a3e7d..671ae3d 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 6408ece..bf78df8 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 6408ece..bf78df8 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;
/*
OpenPOWER on IntegriCloud