From 03e3b6a13c05b0e00b332209e0a825c5327a2482 Mon Sep 17 00:00:00 2001 From: yamt Date: Wed, 11 Feb 2004 12:15:12 +0000 Subject: [PATCH] pmap_create: initialize pm_cpus. --- sys/arch/i386/i386/pmap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 30840b411eb8..c991c515da3d 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.168 2003/12/30 03:55:01 yamt Exp $ */ +/* $NetBSD: pmap.c,v 1.169 2004/02/11 12:15:12 yamt Exp $ */ /* * @@ -60,7 +60,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.168 2003/12/30 03:55:01 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.169 2004/02/11 12:15:12 yamt Exp $"); #include "opt_cputype.h" #include "opt_user_ldt.h" @@ -1714,6 +1714,7 @@ pmap_create() pmap->pm_ptphint = NULL; pmap->pm_hiexec = 0; pmap->pm_flags = 0; + pmap->pm_cpus = 0; /* init the LDT */ pmap->pm_ldt = NULL;