Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Fix a small typo in comment: pmaps_lock is ...



details:   https://anonhg.NetBSD.org/src/rev/57a494487709
branches:  trunk
changeset: 769889:57a494487709
user:      jym <jym%NetBSD.org@localhost>
date:      Sun Sep 25 18:39:30 2011 +0000

description:
Fix a small typo in comment: pmaps_lock is the lock that keeps all
pmaps in sync for kernel mappings (including when they are obtained from
pool caches).

diffstat:

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

diffs (27 lines):

diff -r 59e368429603 -r 57a494487709 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Sun Sep 25 18:18:43 2011 +0000
+++ b/sys/arch/x86/x86/pmap.c   Sun Sep 25 18:39:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.130 2011/09/20 00:12:23 jym Exp $   */
+/*     $NetBSD: pmap.c,v 1.131 2011/09/25 18:39:30 jym Exp $   */
 
 /*-
  * Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.130 2011/09/20 00:12:23 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.131 2011/09/25 18:39:30 jym Exp $");
 
 #include "opt_user_ldt.h"
 #include "opt_lockdebug.h"
@@ -1982,7 +1982,7 @@
 #endif
 
        /*
-        * NOTE: The `pmap_lock' is held when the PDP is allocated.
+        * NOTE: The `pmaps_lock' is held when the PDP is allocated.
         */
 
 #if defined(XEN) && defined(__x86_64__)



Home | Main Index | Thread Index | Old Index