projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging/zmem: Use lockdep_assert_held instead of spin_is_locked
[cascardo/linux.git]
/
drivers
/
staging
/
zcache
/
tmem.h
diff --git
a/drivers/staging/zcache/tmem.h
b/drivers/staging/zcache/tmem.h
index
ed147c4
..
0d4aa82
100644
(file)
--- a/
drivers/staging/zcache/tmem.h
+++ b/
drivers/staging/zcache/tmem.h
@@
-47,7
+47,7
@@
#define ASSERT_INVERTED_SENTINEL(_x, _y) do { } while (0)
#endif
-#define ASSERT_SPINLOCK(_l)
WARN_ON(!spin_is_locked(_l)
)
+#define ASSERT_SPINLOCK(_l)
lockdep_assert_held(_l
)
/*
* A pool is the highest-level data structure managed by tmem and