Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166382078
D20992.id59903.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
745 B
Referenced Files
None
Subscribers
None
D20992.id59903.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/lockdep.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/lockdep.h
+++ sys/compat/linuxkpi/common/include/linux/lockdep.h
@@ -40,11 +40,17 @@
#define lockdep_set_current_reclaim_state(g) do { } while (0)
#define lockdep_clear_current_reclaim_state() do { } while (0)
+#if 0
#define lockdep_assert_held(m) \
sx_assert(&(m)->sx, SA_XLOCKED)
#define lockdep_assert_held_once(m) \
sx_assert(&(m)->sx, SA_XLOCKED | SA_NOTRECURSED)
+#else
+#define lockdep_assert_held(m) do { } while (0)
+
+#define lockdep_assert_held_once(m) do { } while (0)
+#endif
#define lockdep_is_held(m) (sx_xholder(&(m)->sx) == curthread)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 14, 6:52 AM (40 m, 31 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36708145
Default Alt Text
D20992.id59903.diff (745 B)
Attached To
Mode
D20992: Fix build with DRM and INVARIANTS enabled.
Attached
Detach File
Event Timeline
Log In to Comment