Module Name:    src
Committed By:   skrll
Date:           Mon Dec  6 18:42:10 UTC 2010

Modified Files:
        src/sys/arch/hp700/hp700: machdep.c

Log Message:
Wrap a printf in #ifdef DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 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.89 src/sys/arch/hp700/hp700/machdep.c:1.90
--- src/sys/arch/hp700/hp700/machdep.c:1.89	Mon Nov  8 19:59:20 2010
+++ src/sys/arch/hp700/hp700/machdep.c	Mon Dec  6 18:42:09 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.89 2010/11/08 19:59:20 skrll Exp $	*/
+/*	$NetBSD: machdep.c,v 1.90 2010/12/06 18:42:09 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.89 2010/11/08 19:59:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.90 2010/12/06 18:42:09 skrll Exp $");
 
 #include "opt_cputype.h"
 #include "opt_ddb.h"
@@ -715,7 +715,9 @@
 	
 	usebtlb = 0;
 	if (cpu_version == HPPA_CPU_PCXW || cpu_version > HPPA_CPU_PCXL2) {
+#ifdef DEBUG
 		printf("WARNING: BTLB no supported on cpu %d\n", cpu_version);
+#endif
 	} else {
 
 		/* BTLB params */

Reply via email to