Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Disable spl_intr() spamming when ...



details:   https://anonhg.NetBSD.org/src/rev/b871ee55fc3e
branches:  trunk
changeset: 772006:b871ee55fc3e
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Dec 13 12:27:06 2011 +0000

description:
Disable spl_intr() spamming when debug printing is enabled.

diffstat:

 sys/arch/usermode/usermode/intr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d2b7ff2ebe22 -r b871ee55fc3e sys/arch/usermode/usermode/intr.c
--- a/sys/arch/usermode/usermode/intr.c Tue Dec 13 12:26:32 2011 +0000
+++ b/sys/arch/usermode/usermode/intr.c Tue Dec 13 12:27:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.8 2011/09/16 16:25:44 reinoud Exp $ */
+/* $NetBSD: intr.c,v 1.9 2011/12/13 12:27:06 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.8 2011/09/16 16:25:44 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.9 2011/12/13 12:27:06 reinoud Exp $");
 
 #include <sys/types.h>
 
@@ -74,7 +74,7 @@
                return;
        }
 
-       dprintf_debug("spl_intr: queue %d when %d\n", x, usermode_x);
+//     dprintf_debug("spl_intr: queue %d when %d\n", x, usermode_x);
        spli = &spl_intrs[x][spl_intr_wr[x]];
        spli->func = func;
        spli->arg = arg;
@@ -114,7 +114,7 @@
 //restart:
                for (y = usermode_x; y >= x; y--) {
                        while (spl_intr_rd[y] != spl_intr_wr[y]) {
-                               dprintf_debug("spl y %d firing\n", y);
+//                             dprintf_debug("spl y %d firing\n", y);
                                spli = &spl_intrs[y][spl_intr_rd[y]];
                                if (!spli->func)
                                        panic("%s: spli->func is NULL for ipl %d, rd %d, wr %d\n",



Home | Main Index | Thread Index | Old Index