Module Name: src Committed By: christos Date: Sat Jan 1 15:09:01 UTC 2022
Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: KASSERT now always uses the expression, so don't protect with DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.430 -r1.431 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/arm32/pmap.c diff -u src/sys/arch/arm/arm32/pmap.c:1.430 src/sys/arch/arm/arm32/pmap.c:1.431 --- src/sys/arch/arm/arm32/pmap.c:1.430 Thu Aug 26 04:56:21 2021 +++ src/sys/arch/arm/arm32/pmap.c Sat Jan 1 10:09:01 2022 @@ -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 @@ pmap_release_page_lock(struct vm_page_md mutex_exit(&pmap_lock); } -#ifdef DIAGNOSTIC static inline int pmap_page_locked_p(struct vm_page_md *md) { return mutex_owned(&pmap_lock); } -#endif /*