Source-Changes-HG archive

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

[.joined/src/trunk]: .joined/src/sys/arch/arm/arm32 KASSERT now always uses t...



details:   https://anonhg.NetBSD.org/.joined/src/rev/2ccd30537740
branches:  trunk
changeset: 359381:2ccd30537740
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 01 15:09:01 2022 +0000

description:
KASSERT now always uses the expression, so don't protect with DIAGNOSTIC

diffstat:

 sys/arch/arm/arm32/pmap.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r e047c1e5b58b -r 2ccd30537740 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Sat Jan 01 13:47:19 2022 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sat Jan 01 15:09:01 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.430 2021/08/26 08:56:21 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.431 2022/01/01 15:09:01 christos Exp $      */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -192,7 +192,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.430 2021/08/26 08:56:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.431 2022/01/01 15:09:01 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -529,13 +529,11 @@
        mutex_exit(&pmap_lock);
 }
 
-#ifdef DIAGNOSTIC
 static inline int
 pmap_page_locked_p(struct vm_page_md *md)
 {
        return mutex_owned(&pmap_lock);
 }
-#endif
 
 
 /*



Home | Main Index | Thread Index | Old Index