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 Add lockdep_is_held stub.



details:   https://anonhg.NetBSD.org/src/rev/3042af1e6131
branches:  trunk
changeset: 992710:3042af1e6131
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:34:03 2018 +0000

description:
Add lockdep_is_held stub.

diffstat:

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

diffs (17 lines):

diff -r be37d65e5a20 -r 3042af1e6131 sys/external/bsd/drm2/include/linux/mutex.h
--- a/sys/external/bsd/drm2/include/linux/mutex.h       Mon Aug 27 07:33:53 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/mutex.h       Mon Aug 27 07:34:03 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mutex.h,v 1.10 2018/08/27 07:24:44 riastradh Exp $     */
+/*     $NetBSD: mutex.h,v 1.11 2018/08/27 07:34:03 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -111,6 +111,7 @@
 
 #define        __lockdep_used          __unused
 #define        lockdep_assert_held(m)  do {} while (0)
+#define        lockdep_is_held(m)      1
 
 #define        SINGLE_DEPTH_NESTING    0
 



Home | Main Index | Thread Index | Old Index