Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/hp700 Wrap a printf in #ifdef DEBUG
details: https://anonhg.NetBSD.org/src/rev/7208275a7f64
branches: trunk
changeset: 759356:7208275a7f64
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Dec 06 18:42:09 2010 +0000
description:
Wrap a printf in #ifdef DEBUG
diffstat:
sys/arch/hp700/hp700/machdep.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r a1d564c5fec2 -r 7208275a7f64 sys/arch/hp700/hp700/machdep.c
--- a/sys/arch/hp700/hp700/machdep.c Mon Dec 06 18:26:28 2010 +0000
+++ b/sys/arch/hp700/hp700/machdep.c Mon Dec 06 18:42:09 2010 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index