Module Name:    src
Committed By:   skrll
Date:           Tue Apr 28 13:35:44 UTC 2009

Modified Files:
        src/sys/arch/hp700/hp700 [nick-hppapmap]: machdep.c

Log Message:
#ifdef DEBUG around printf


To generate a diff of this commit:
cvs rdiff -u -r1.48.4.17 -r1.48.4.18 src/sys/arch/hp700/hp700/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/hp700/machdep.c
diff -u src/sys/arch/hp700/hp700/machdep.c:1.48.4.17 src/sys/arch/hp700/hp700/machdep.c:1.48.4.18
--- src/sys/arch/hp700/hp700/machdep.c:1.48.4.17	Tue Apr 28 13:20:06 2009
+++ src/sys/arch/hp700/hp700/machdep.c	Tue Apr 28 13:35:44 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.48.4.17 2009/04/28 13:20:06 skrll Exp $	*/
+/*	$NetBSD: machdep.c,v 1.48.4.18 2009/04/28 13:35:44 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.48.4.17 2009/04/28 13:20:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.48.4.18 2009/04/28 13:35:44 skrll Exp $");
 
 #include "opt_cputype.h"
 #include "opt_ddb.h"
@@ -444,7 +444,9 @@
 #endif
 	error = pdc_call((iodcio_t)pdc, 0, PDC_CACHE, PDC_CACHE_GETSPIDB,
 	    &pdc_spidbits, 0, 0, 0, 0);
+#ifdef DEBUG
 	printf("SPID bits: 0x%x, error = %d\n", pdc_spidbits.spidbits, error);
+#endif
 
 	/* Calculate the OS_HPMC handler checksums. */
 	p = &os_hpmc;

Reply via email to