Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Remove useless KASSERT - we can't assert ...
details: https://anonhg.NetBSD.org/src/rev/f9f407c0d34d
branches: trunk
changeset: 356149:f9f407c0d34d
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 06 11:51:33 2017 +0000
description:
Remove useless KASSERT - we can't assert !mutex_owned()
diffstat:
sys/arch/arm/arm32/pmap.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 646291b84766 -r f9f407c0d34d sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Sep 06 11:08:53 2017 +0000
+++ b/sys/arch/arm/arm32/pmap.c Wed Sep 06 11:51:33 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.356 2017/09/02 12:24:39 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.357 2017/09/06 11:51:33 skrll Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -217,7 +217,7 @@
#include <arm/locore.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.356 2017/09/02 12:24:39 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.357 2017/09/06 11:51:33 skrll Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -3779,9 +3779,6 @@
pool_put(&pmap_pv_pool, pv);
#endif
}
-#if !defined(ARM_MMU_EXTENDED)
- KASSERT(md == NULL || !pmap_page_locked_p(md));
-#endif
if (pmap_initialized) {
UVMHIST_LOG(maphist, " <-- done (ptep %p: %#x -> %#x)",
ptep, opte, npte, 0);
Home |
Main Index |
Thread Index |
Old Index