Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Remove not-so-useful `#if DEBUG' code.
details: https://anonhg.NetBSD.org/src/rev/e81d1ed8783b
branches: trunk
changeset: 485533:e81d1ed8783b
user: pk <pk%NetBSD.org@localhost>
date: Sun Apr 30 14:23:29 2000 +0000
description:
Remove not-so-useful `#if DEBUG' code.
diffstat:
sys/arch/sparc/sparc/cache.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (22 lines):
diff -r 31fd79061f1f -r e81d1ed8783b sys/arch/sparc/sparc/cache.c
--- a/sys/arch/sparc/sparc/cache.c Sun Apr 30 14:19:37 2000 +0000
+++ b/sys/arch/sparc/sparc/cache.c Sun Apr 30 14:23:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cache.c,v 1.48 2000/04/30 14:19:37 pk Exp $ */
+/* $NetBSD: cache.c,v 1.49 2000/04/30 14:23:29 pk Exp $ */
/*
* Copyright (c) 1996
@@ -936,12 +936,6 @@
if (cpuinfo.mid == cpi->mid)
continue;
s = splhigh();
-#ifdef DEBUG
- if (cpi->msg.lock.lock_data != 0) {
- printf("smp_cache_flush:warning: cpu #%d locked\n",
- cpi->cpu_no);
- }
-#endif
simple_lock(&cpi->msg.lock);
cpi->msg.tag = XPMSG_VCACHE_FLUSH_RANGE;
p->ctx = getcontext4m();
Home |
Main Index |
Thread Index |
Old Index