Module Name: src
Committed By: riastradh
Date: Mon Aug 27 07:34:03 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/include/linux: mutex.h
Log Message:
Add lockdep_is_held stub.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/external/bsd/drm2/include/linux/mutex.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/include/linux/mutex.h
diff -u src/sys/external/bsd/drm2/include/linux/mutex.h:1.10 src/sys/external/bsd/drm2/include/linux/mutex.h:1.11
--- src/sys/external/bsd/drm2/include/linux/mutex.h:1.10 Mon Aug 27 07:24:44 2018
+++ src/sys/external/bsd/drm2/include/linux/mutex.h Mon Aug 27 07:34:03 2018
@@ -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 @@ mutex_lock_nest_lock(struct mutex *mutex
#define __lockdep_used __unused
#define lockdep_assert_held(m) do {} while (0)
+#define lockdep_is_held(m) 1
#define SINGLE_DEPTH_NESTING 0