Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-km]: src/sys/arch/news68k/news68k fix typo in rev.1.11.6.1. (missi...
details: https://anonhg.NetBSD.org/src/rev/e58b9b3653ba
branches: yamt-km
changeset: 573377:e58b9b3653ba
user: yamt <yamt%NetBSD.org@localhost>
date: Mon Feb 28 11:58:17 2005 +0000
description:
fix typo in rev.1.11.6.1. (missing &)
XXX why not warned by compiler?
diffstat:
sys/arch/news68k/news68k/pmap_bootstrap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a50a54046bc4 -r e58b9b3653ba sys/arch/news68k/news68k/pmap_bootstrap.c
--- a/sys/arch/news68k/news68k/pmap_bootstrap.c Sun Feb 27 14:41:42 2005 +0000
+++ b/sys/arch/news68k/news68k/pmap_bootstrap.c Mon Feb 28 11:58:17 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.11.6.4 2005/02/27 08:16:47 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.11.6.5 2005/02/28 11:58:17 yamt Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.11.6.4 2005/02/27 08:16:47 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.11.6.5 2005/02/28 11:58:17 yamt Exp $");
#include <sys/param.h>
@@ -232,7 +232,7 @@
* Now initialize the final portion of that block of
* descriptors to map Sysmap.
*/
- pte = ((u_int *)kstpa)[kstsize*NPTEPG - NPTEPG/SG4_LEV3SIZE];
+ pte = &((u_int *)kstpa)[kstsize*NPTEPG - NPTEPG/SG4_LEV3SIZE];
epte = &pte[NPTEPG/SG4_LEV3SIZE];
protoste = kptmpa | SG_U | SG_RW | SG_V;
while (pte < epte) {
Home |
Main Index |
Thread Index |
Old Index