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/b88625bc77b4
branches:  trunk
changeset: 992661:b88625bc77b4
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 27d6d67c8381 -r b88625bc77b4 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