Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 Remove ifdef LOCKDEBUG, this file is only...



details:   https://anonhg.NetBSD.org/src/rev/bf90ea900015
branches:  trunk
changeset: 537878:bf90ea900015
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Oct 07 07:58:26 2002 +0000

description:
Remove ifdef LOCKDEBUG, this file is only compiled when it is defined.

diffstat:

 sys/arch/i386/i386/lock_machdep.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 407fcde1a203 -r bf90ea900015 sys/arch/i386/i386/lock_machdep.c
--- a/sys/arch/i386/i386/lock_machdep.c Mon Oct 07 07:54:31 2002 +0000
+++ b/sys/arch/i386/i386/lock_machdep.c Mon Oct 07 07:58:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock_machdep.c,v 1.2 2002/10/01 12:56:54 fvdl Exp $ */
+/* $NetBSD: lock_machdep.c,v 1.3 2002/10/07 07:58:26 fvdl Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -54,8 +54,6 @@
 
 #include <ddb/db_output.h>
 
-#ifdef LOCKDEBUG
-
 void
 __cpu_simple_lock_init(lockp)
        __cpu_simple_lock_t *lockp;
@@ -143,5 +141,3 @@
        __lockbarrier();
        *lockp = __SIMPLELOCK_UNLOCKED;
 }
-
-#endif



Home | Main Index | Thread Index | Old Index