aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/include/liblockdep/common.h
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-12-06 17:11:31 -0800
committerIngo Molnar <[email protected]>2018-12-11 14:54:51 +0100
commit886adbed7ac19352315e9f1dd880360c7544d25c (patch)
treefdce17cf754c5684a362cae9202ef7752af52a16 /tools/lib/lockdep/include/liblockdep/common.h
parentac862d9b2fd084b50ee7a332a35d8d8d3228ce09 (diff)
tools/lib/lockdep/tests: Test the lockdep_reset_lock() implementation
This patch makes sure that the lockdep_reset_lock() function gets tested. Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Johannes Berg <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sasha Levin <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Waiman Long <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/lib/lockdep/include/liblockdep/common.h')
-rw-r--r--tools/lib/lockdep/include/liblockdep/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/lockdep/include/liblockdep/common.h b/tools/lib/lockdep/include/liblockdep/common.h
index 8862da80995a..d640a9761f09 100644
--- a/tools/lib/lockdep/include/liblockdep/common.h
+++ b/tools/lib/lockdep/include/liblockdep/common.h
@@ -44,6 +44,7 @@ void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
struct lockdep_map *nest_lock, unsigned long ip);
void lock_release(struct lockdep_map *lock, int nested,
unsigned long ip);
+void lockdep_reset_lock(struct lockdep_map *lock);
extern void debug_check_no_locks_freed(const void *from, unsigned long len);
#define STATIC_LOCKDEP_MAP_INIT(_name, _key) \