Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/x68k Fix one more typo that affects x68k with ...



details:   https://anonhg.NetBSD.org/src/rev/f9f9e8bee9e2
branches:  trunk
changeset: 760065:f9f9e8bee9e2
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Dec 25 16:37:22 2010 +0000

description:
Fix one more typo that affects x68k with 040/060.
I hope this is the last one...

diffstat:

 sys/arch/x68k/x68k/pmap_bootstrap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 117a90427baa -r f9f9e8bee9e2 sys/arch/x68k/x68k/pmap_bootstrap.c
--- a/sys/arch/x68k/x68k/pmap_bootstrap.c       Sat Dec 25 16:14:44 2010 +0000
+++ b/sys/arch/x68k/x68k/pmap_bootstrap.c       Sat Dec 25 16:37:22 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.51 2010/06/06 04:50:08 mrg Exp $  */
+/*     $NetBSD: pmap_bootstrap.c,v 1.52 2010/12/25 16:37:22 tsutsui Exp $      */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.51 2010/06/06 04:50:08 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.52 2010/12/25 16:37:22 tsutsui Exp $");
 
 #include "opt_m68k_arch.h"
 
@@ -188,7 +188,7 @@
                nl1desc = howmany(nl2desc, SG4_LEV2SIZE);
                ste = (st_entry_t *)kstpa;
                este = &ste[nl1desc];
-               protoste = (paddr_t)este[SG4_LEV1SIZE] | SG_U | SG_RW | SG_V;
+               protoste = (paddr_t)&ste[SG4_LEV1SIZE] | SG_U | SG_RW | SG_V;
                while (ste < este) {
                        *ste++ = protoste;
                        protoste += (SG4_LEV2SIZE * sizeof(st_entry_t));



Home | Main Index | Thread Index | Old Index