Module Name: src Committed By: snj Date: Sat Feb 27 19:49:26 UTC 2010
Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: pmap.c Log Message: It's "PARANOIADIAG", not "PARANIOADIAG". Fix a couple small errors in comments. To generate a diff of this commit: cvs rdiff -u -r1.179.16.19 -r1.179.16.20 src/sys/arch/mips/mips/pmap.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/mips/mips/pmap.c diff -u src/sys/arch/mips/mips/pmap.c:1.179.16.19 src/sys/arch/mips/mips/pmap.c:1.179.16.20 --- src/sys/arch/mips/mips/pmap.c:1.179.16.19 Sat Feb 27 07:58:52 2010 +++ src/sys/arch/mips/mips/pmap.c Sat Feb 27 19:49:26 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.179.16.19 2010/02/27 07:58:52 matt Exp $ */ +/* $NetBSD: pmap.c,v 1.179.16.20 2010/02/27 19:49:26 snj Exp $ */ /*- * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc. @@ -67,7 +67,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.179.16.19 2010/02/27 07:58:52 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.179.16.20 2010/02/27 19:49:26 snj Exp $"); /* * Manages physical address maps. @@ -544,7 +544,7 @@ /* * The R4?00 stores only one copy of the Global bit in the * translation lookaside buffer for each 2 page entry. - * Thus invalid entrys must have the Global bit set so + * Thus invalid entries must have the Global bit set so * when Entry LO and Entry HI G bits are anded together * they will produce a global bit to store in the tlb. */ @@ -980,7 +980,7 @@ (void)VM_PAGE_PVLIST_LOCK(pg, false); pv = &pg->mdpage.pvh_first; /* - * Loop over all current mappings setting/clearing as appropos. + * Loop over all current mappings setting/clearing as apropos. */ if (pv->pv_pmap != NULL) { while (pv != NULL) { @@ -1946,7 +1946,7 @@ static void pmap_check_pvlist(struct vm_page *pg) { -#ifdef PARANIOADIAG +#ifdef PARANOIADIAG pt_entry_t pv = &pg->mdpage.pvh_first; if (pv->pv_pmap != NULL) { for (; pv != NULL; pv = pv->pv_next) { @@ -2282,7 +2282,7 @@ int16_t gen; /* - * Allocate a lock on an as-needed basis. This will hopefully us + * Allocate a lock on an as-needed basis. This will hopefully give us * semi-random distribution not based on page color. */ if (__predict_false(lock == NULL)) { @@ -2509,7 +2509,7 @@ #if defined(MIPS3_PLUS) if (MIPS_CACHE_VIRTUAL_ALIAS) { /* - * We've unmapped a poolpage. Its contents are irrelavent. + * We've unmapped a poolpage. Its contents are irrelevant. */ mips_dcache_inv_range(va, PAGE_SIZE); }