Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Remove bogus KASSERT - can't assert a spi...



details:   https://anonhg.NetBSD.org/src/rev/04775be44e42
branches:  trunk
changeset: 948202:04775be44e42
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Dec 20 15:59:28 2020 +0000

description:
Remove bogus KASSERT - can't assert a spin mutex is !mutex_owned.

diffstat:

 sys/arch/mips/mips/pmap_machdep.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 77a3342b701d -r 04775be44e42 sys/arch/mips/mips/pmap_machdep.c
--- a/sys/arch/mips/mips/pmap_machdep.c Sun Dec 20 15:50:44 2020 +0000
+++ b/sys/arch/mips/mips/pmap_machdep.c Sun Dec 20 15:59:28 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_machdep.c,v 1.31 2020/12/20 12:27:20 skrll Exp $  */
+/*     $NetBSD: pmap_machdep.c,v 1.32 2020/12/20 15:59:28 skrll Exp $  */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.31 2020/12/20 12:27:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.32 2020/12/20 15:59:28 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -1025,7 +1025,6 @@
                return;
 
        KASSERT(kpreempt_disabled());
-       KASSERT(!VM_PAGEMD_PVLIST_LOCKED_P(mdpg));
        KASSERT((va & PAGE_MASK) == 0);
 
        /*



Home | Main Index | Thread Index | Old Index