Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap use __nothing



details:   https://anonhg.NetBSD.org/src/rev/2f09f47df0e5
branches:  trunk
changeset: 452141:2f09f47df0e5
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 19 12:55:01 2019 +0000

description:
use __nothing

diffstat:

 sys/uvm/pmap/vmpagemd.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6c3b5bbfad84 -r 2f09f47df0e5 sys/uvm/pmap/vmpagemd.h
--- a/sys/uvm/pmap/vmpagemd.h   Wed Jun 19 12:52:41 2019 +0000
+++ b/sys/uvm/pmap/vmpagemd.h   Wed Jun 19 12:55:01 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmpagemd.h,v 1.10 2019/06/19 10:04:40 skrll Exp $      */
+/*     $NetBSD: vmpagemd.h,v 1.11 2019/06/19 12:55:01 christos Exp $   */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
 #if defined(MULTIPROCESSOR) || defined(MODULAR)
 #define        VM_PAGEMD_PVLIST_LOCK_INIT(mdpg)        (mdpg)->mdpg_lock = NULL
 #else
-#define        VM_PAGEMD_PVLIST_LOCK_INIT(mdpg)        do { } while (/*CONSTCOND*/ 0)
+#define        VM_PAGEMD_PVLIST_LOCK_INIT(mdpg)        __nothing
 #endif /* MULTIPROCESSOR || MODULAR */
 
 #define        VM_PAGEMD_PVLIST_LOCK(mdpg)             pmap_pvlist_lock(mdpg, 1)



Home | Main Index | Thread Index | Old Index