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 define BDPRINTF in the !DEBUG case ...



details:   https://anonhg.NetBSD.org/src/rev/627e9b7b7715
branches:  trunk
changeset: 495545:627e9b7b7715
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 31 05:40:22 2000 +0000

description:
define BDPRINTF in the !DEBUG case to nothing. PR#10688.

diffstat:

 sys/arch/sparc64/sparc64/pmap.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r af41ae742ec1 -r 627e9b7b7715 sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Mon Jul 31 03:25:11 2000 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Mon Jul 31 05:40:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.68 2000/07/27 13:59:26 mrg Exp $    */
+/*     $NetBSD: pmap.c,v 1.69 2000/07/31 05:40:22 mrg Exp $    */
 #undef NO_VCACHE /* Don't forget the locked TLB in dostart */
 #define HWREF 1 
 #undef BOOT_DEBUG
@@ -321,6 +321,8 @@
 int    pmap_pages_stolen = 0;
 
 #define        BDPRINTF(n, f)  if (pmapdebug & (n)) prom_printf f
+#else
+#define        BDPRINTF(n, f)
 #endif
 
 #ifdef NOTDEF_DEBUG



Home | Main Index | Thread Index | Old Index