Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/powerpc/mpc6xx Pull up revision 1.45 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/d7ed53a9e18f
branches:  netbsd-1-6
changeset: 527773:d7ed53a9e18f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jun 06 08:06:54 2002 +0000

description:
Pull up revision 1.45 (requested by scw in ticket #182):
Fix a botched pmap_vsid_bitmap[] index.
I'm surprised this worked as long as it did.

diffstat:

 sys/arch/powerpc/mpc6xx/pmap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 14fd695195d5 -r d7ed53a9e18f sys/arch/powerpc/mpc6xx/pmap.c
--- a/sys/arch/powerpc/mpc6xx/pmap.c    Thu Jun 06 07:51:10 2002 +0000
+++ b/sys/arch/powerpc/mpc6xx/pmap.c    Thu Jun 06 08:06:54 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.43 2002/04/23 17:14:45 kleink Exp $ */
+/*     $NetBSD: pmap.c,v 1.43.4.1 2002/06/06 08:06:54 lukem Exp $      */
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -897,7 +897,7 @@
                                entropy = (pmap_vsidcontext >> 20);
                                continue;
                        }
-                       i = ffs(~pmap_vsid_bitmap[i]) - 1;
+                       i = ffs(~pmap_vsid_bitmap[n]) - 1;
                        mask = 1 << i;
                        hash &= 0xfffff & ~(VSID_NBPW-1);
                        hash |= i;



Home | Main Index | Thread Index | Old Index