Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa KASSERT(!mutex_owned(...)) is not kosher.



details:   https://anonhg.NetBSD.org/src/rev/68c1945ae877
branches:  trunk
changeset: 771593:68c1945ae877
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Nov 25 22:40:02 2011 +0000

description:
KASSERT(!mutex_owned(...)) is not kosher.

diffstat:

 sys/dev/isa/pcppi.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 361723fbb3aa -r 68c1945ae877 sys/dev/isa/pcppi.c
--- a/sys/dev/isa/pcppi.c       Fri Nov 25 22:27:51 2011 +0000
+++ b/sys/dev/isa/pcppi.c       Fri Nov 25 22:40:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcppi.c,v 1.39 2011/11/25 14:31:44 jakllsch Exp $ */
+/* $NetBSD: pcppi.c,v 1.40 2011/11/25 22:40:02 riastradh Exp $ */
 
 /*
  * Copyright (c) 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcppi.c,v 1.39 2011/11/25 14:31:44 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcppi.c,v 1.40 2011/11/25 22:40:02 riastradh Exp $");
 
 #include "attimer.h"
 
@@ -355,8 +355,6 @@
     int poll)
 {
 
-       KASSERT(!mutex_owned(&tty_lock));
-
        /*
         * Comes in as ms, goes out at ticks; volume ignored.
         */



Home | Main Index | Thread Index | Old Index