Source-Changes-HG archive

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

[src/trunk]: src/sys/kern it's cpu_switchto (not cpu_switch)



details:   https://anonhg.NetBSD.org/src/rev/1d4672cc748b
branches:  trunk
changeset: 979138:1d4672cc748b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Dec 15 08:35:52 2020 +0000

description:
it's cpu_switchto (not cpu_switch)

diffstat:

 sys/kern/kern_mutex.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 35d0491e2308 -r 1d4672cc748b sys/kern/kern_mutex.c
--- a/sys/kern/kern_mutex.c     Tue Dec 15 08:17:31 2020 +0000
+++ b/sys/kern/kern_mutex.c     Tue Dec 15 08:35:52 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_mutex.c,v 1.94 2020/12/15 08:17:31 skrll Exp $    */
+/*     $NetBSD: kern_mutex.c,v 1.95 2020/12/15 08:35:52 skrll Exp $    */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2008, 2019 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #define        __MUTEX_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.94 2020/12/15 08:17:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.95 2020/12/15 08:35:52 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -628,7 +628,7 @@
                 *   completes before the modification of curlwp becomes
                 *   visible to this CPU.
                 *
-                * o cpu_switch() posts a store fence after setting curlwp
+                * o cpu_switchto() posts a store fence after setting curlwp
                 *   and before resuming execution of an LWP.
                 *
                 * o _kernel_lock() posts a store fence before setting



Home | Main Index | Thread Index | Old Index