Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Change a printf to DEBUG only.



details:   https://anonhg.NetBSD.org/src/rev/000a57334ad1
branches:  trunk
changeset: 515435:000a57334ad1
user:      eeh <eeh%NetBSD.org@localhost>
date:      Tue Sep 25 00:06:55 2001 +0000

description:
Change a printf to DEBUG only.

diffstat:

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

diffs (21 lines):

diff -r d23bd3d4c307 -r 000a57334ad1 sys/arch/sparc64/sparc64/intr.c
--- a/sys/arch/sparc64/sparc64/intr.c   Tue Sep 25 00:03:25 2001 +0000
+++ b/sys/arch/sparc64/sparc64/intr.c   Tue Sep 25 00:06:55 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.40 2001/09/02 01:45:47 eeh Exp $ */
+/*     $NetBSD: intr.c,v 1.41 2001/09/25 00:06:55 eeh Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -268,9 +268,10 @@
                         * Interrupt is already there.  We need to create a
                         * new interrupt handler and interpose it.
                         */
+#ifdef DEBUG
                        printf("intr_establish: intr reused %x\n", 
                                ih->ih_number);
-
+#endif
                        if (q->ih_fun != intr_list_handler) {
                                nih = (struct intrhand *)
                                        malloc(sizeof(struct intrhand),



Home | Main Index | Thread Index | Old Index