Module Name: src Committed By: tsutsui Date: Sat Dec 25 16:37:22 UTC 2010
Modified Files: src/sys/arch/x68k/x68k: pmap_bootstrap.c Log Message: Fix one more typo that affects x68k with 040/060. I hope this is the last one... To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch/x68k/x68k/pmap_bootstrap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x68k/x68k/pmap_bootstrap.c diff -u src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.51 src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.52 --- src/sys/arch/x68k/x68k/pmap_bootstrap.c:1.51 Sun Jun 6 04:50:08 2010 +++ src/sys/arch/x68k/x68k/pmap_bootstrap.c Sat Dec 25 16:37:22 2010 @@ -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));