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 linux: fix __lockdep_use...
details: https://anonhg.NetBSD.org/src/rev/cc7ebcc7f2fd
branches: trunk
changeset: 1028650:cc7ebcc7f2fd
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:35:44 2021 +0000
description:
linux: fix __lockdep_used, add mutex_acquire/release
diffstat:
sys/external/bsd/drm2/include/linux/lockdep.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 983cb4aef9a4 -r cc7ebcc7f2fd sys/external/bsd/drm2/include/linux/lockdep.h
--- a/sys/external/bsd/drm2/include/linux/lockdep.h Sun Dec 19 11:35:36 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/lockdep.h Sun Dec 19 11:35:44 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lockdep.h,v 1.6 2021/12/19 11:11:19 riastradh Exp $ */
+/* $NetBSD: lockdep.h,v 1.7 2021/12/19 11:35:44 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -43,7 +43,10 @@
#define __acquires(lock) /* XXX lockdep annotation */
#define __releases(lock) /* XXX lockdep annotation */
-#define __lockdep_used __debugused
+#define mutex_acquire(m, x, y, ip) __nothing
+#define mutex_release(m, ip) __nothing
+
+#define __lockdep_used __unused
#define lock_acquire_shared_recursive(l, s, t, n, i) __nothing
#define lock_release(l, n) __nothing
#ifdef notyet
Home |
Main Index |
Thread Index |
Old Index