Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/prg-localcount2]: src/sys/rump/librump/rumpkern Use the right conditiona...
details: https://anonhg.NetBSD.org/src/rev/7d8c3ca90dd3
branches: prg-localcount2
changeset: 823530:7d8c3ca90dd3
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Apr 30 07:07:56 2017 +0000
description:
Use the right conditional to enable/disable LOCKDEBUG within RUMP
diffstat:
sys/rump/librump/rumpkern/locks.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f7bd4b7fa4a8 -r 7d8c3ca90dd3 sys/rump/librump/rumpkern/locks.c
--- a/sys/rump/librump/rumpkern/locks.c Sun Apr 30 05:18:53 2017 +0000
+++ b/sys/rump/librump/rumpkern/locks.c Sun Apr 30 07:07:56 2017 +0000
@@ -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 @@
mutex_ownable(kmutex_t *mtx)
{
-#ifdef RUMP_LOCKDEBUG
+#ifdef LOCKDEBUG
mutex_enter(mtx);
mutex_exit(mtx);
#endif
Home |
Main Index |
Thread Index |
Old Index