Module Name:    src
Committed By:   pgoyette
Date:           Sun Apr 30 07:07:56 UTC 2017

Modified Files:
        src/sys/rump/librump/rumpkern [prg-localcount2]: locks.c

Log Message:
Use the right conditional to enable/disable LOCKDEBUG within RUMP


To generate a diff of this commit:
cvs rdiff -u -r1.73.4.1 -r1.73.4.2 src/sys/rump/librump/rumpkern/locks.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/rump/librump/rumpkern/locks.c
diff -u src/sys/rump/librump/rumpkern/locks.c:1.73.4.1 src/sys/rump/librump/rumpkern/locks.c:1.73.4.2
--- src/sys/rump/librump/rumpkern/locks.c:1.73.4.1	Sun Apr 30 04:56:55 2017
+++ src/sys/rump/librump/rumpkern/locks.c	Sun Apr 30 07:07:56 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: locks.c,v 1.73.4.1 2017/04/30 04:56:55 pgoyette Exp $	*/
+/*	$NetBSD: locks.c,v 1.73.4.2 2017/04/30 07:07:56 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locks.c,v 1.73.4.1 2017/04/30 04:56:55 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locks.c,v 1.73.4.2 2017/04/30 07:07:56 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -186,7 +186,7 @@ int
 mutex_ownable(kmutex_t *mtx)
 {
 
-#ifdef RUMP_LOCKDEBUG
+#ifdef LOCKDEBUG
 	mutex_enter(mtx);
 	mutex_exit(mtx);
 #endif

Reply via email to