Commit 86ba49a7 authored by Hans Petter Selasky's avatar Hans Petter Selasky
Browse files

Implement more lockdep stubs in the LinuxKPI.

MFC after:	1 week
Submitted by:	Johannes Lundberg <>
Sponsored by:	Mellanox Technologies
Sponsored by:	Limelight Networks
parent 8554bc58
......@@ -36,8 +36,9 @@ struct lock_class_key {
#define lockdep_set_class(lock, key)
#define lockdep_set_class_and_name(lock, key, name)
#define lockdep_set_current_reclaim_state(g) do { } while (0)
#define lockdep_clear_current_reclaim_state() do { } while (0)
#define lockdep_assert_held(m) \
sx_assert(&(m)->sx, SA_XLOCKED)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment