Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Trailing whitespace



details:   https://anonhg.NetBSD.org/src/rev/53547e56f869
branches:  trunk
changeset: 979123:53547e56f869
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 14 19:42:51 2020 +0000

description:
Trailing whitespace

diffstat:

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

diffs (48 lines):

diff -r 72a031ba582a -r 53547e56f869 sys/kern/kern_mutex.c
--- a/sys/kern/kern_mutex.c     Mon Dec 14 19:32:29 2020 +0000
+++ b/sys/kern/kern_mutex.c     Mon Dec 14 19:42:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_mutex.c,v 1.92 2020/05/12 21:56:17 ad Exp $       */
+/*     $NetBSD: kern_mutex.c,v 1.93 2020/12/14 19:42:51 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.92 2020/05/12 21:56:17 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.93 2020/12/14 19:42:51 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -593,7 +593,7 @@
                 *          set waiters                    ..
                 *       unlock cache line                 ..
                 *        lose cache line     ->    acquire cache line
-                *              ..                clear lock word, waiters 
+                *              ..                clear lock word, waiters
                 *        return success
                 *
                 * There is another race that can occur: a third CPU could
@@ -630,9 +630,9 @@
                 *
                 * o mi_switch() posts a store fence before setting curlwp
                 *   and before resuming execution of an LWP.
-                * 
+                *
                 * o _kernel_lock() posts a store fence before setting
-                *   curcpu()->ci_biglock_wanted, and after clearing it. 
+                *   curcpu()->ci_biglock_wanted, and after clearing it.
                 *   This ensures that any overwrite of the mutex waiters
                 *   flag by mutex_exit() completes before the modification
                 *   of ci_biglock_wanted becomes visible.
@@ -732,7 +732,7 @@
 #ifndef __HAVE_MUTEX_STUBS
        /*
         * On some architectures without mutex stubs, we can enter here to
-        * release mutexes before interrupts and whatnot are up and running. 
+        * release mutexes before interrupts and whatnot are up and running.
         * We need this hack to keep them sweet.
         */
        if (__predict_false(cold)) {



Home | Main Index | Thread Index | Old Index