Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/include/linux Define __lockdep_used fo...



details:   https://anonhg.NetBSD.org/src/rev/04961476d040
branches:  trunk
changeset: 365962:04961476d040
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:24:44 2018 +0000

description:
Define __lockdep_used for variables used only in lockdep assertions.

diffstat:

 sys/external/bsd/drm2/include/linux/mutex.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 779f771cf386 -r 04961476d040 sys/external/bsd/drm2/include/linux/mutex.h
--- a/sys/external/bsd/drm2/include/linux/mutex.h       Mon Aug 27 07:24:36 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/mutex.h       Mon Aug 27 07:24:44 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mutex.h,v 1.9 2018/08/27 06:17:30 riastradh Exp $      */
+/*     $NetBSD: mutex.h,v 1.10 2018/08/27 07:24:44 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -109,6 +109,7 @@
        mutex_lock(mutex);
 }
 
+#define        __lockdep_used          __unused
 #define        lockdep_assert_held(m)  do {} while (0)
 
 #define        SINGLE_DEPTH_NESTING    0



Home | Main Index | Thread Index | Old Index