Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2]: src/sys/arch/i386/i386 Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/9697a592b199
branches:  netbsd-2
changeset: 564003:9697a592b199
user:      riz <riz%NetBSD.org@localhost>
date:      Wed Aug 24 04:08:09 2005 +0000

description:
Pull up following revision(s) (requested by yamt in ticket #5611):
        sys/arch/i386/i386/pmap.c: revision 1.184
pmap_enter: fix an uninitialized variable bug which can cause
"TLB IPI rendezvous failed".

diffstat:

 sys/arch/i386/i386/pmap.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 02842e249249 -r 9697a592b199 sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Wed Aug 24 03:57:26 2005 +0000
+++ b/sys/arch/i386/i386/pmap.c Wed Aug 24 04:08:09 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.171.2.1.2.1 2005/06/08 11:29:43 tron Exp $  */
+/*     $NetBSD: pmap.c,v 1.171.2.1.2.2 2005/08/24 04:08:09 riz Exp $   */
 
 /*
  *
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.171.2.1.2.1 2005/06/08 11:29:43 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.171.2.1.2.2 2005/08/24 04:08:09 riz Exp $");
 
 #include "opt_cputype.h"
 #include "opt_user_ldt.h"
@@ -3458,10 +3458,12 @@
        /* Update page attributes if needed */
        if ((opte & (PG_V | PG_U)) == (PG_V | PG_U)) {
 #if defined(MULTIPROCESSOR)
-               int32_t cpumask = 0;
+               int32_t cpumask;
 #endif
 shootdown_now:
 #if defined(MULTIPROCESSOR)
+               cpumask = 0;
+
                pmap_tlb_shootdown(pmap, va, opte, &cpumask);
                pmap_tlb_shootnow(cpumask);
 #else



Home | Main Index | Thread Index | Old Index