aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/include/liblockdep/common.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-15 09:34:32 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-15 09:34:32 -0800
commit8f98e292eb612956e1add401f28dc76ffea20323 (patch)
tree34b769c888e0eeba3b59a66ebf5a0b0b7ee203c4 /tools/lib/lockdep/include/liblockdep/common.h
parentbba072dfd7bf87f0712e569a78ae9c0e91e0a8df (diff)
parentb32e1f58c254bd62f8a5852b8b181f6d51df1463 (diff)
downloadkernel_replicant_linux-8f98e292eb612956e1add401f28dc76ffea20323.tar.gz
kernel_replicant_linux-8f98e292eb612956e1add401f28dc76ffea20323.tar.bz2
kernel_replicant_linux-8f98e292eb612956e1add401f28dc76ffea20323.zip
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull liblockdep fixes from Thomas Gleixner: "Three small patches to synchronize liblockdep with the latest core changes" * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: tools/liblockdep: explicitly declare lockdep API we call from liblockdep tools/liblockdep: add userspace versions of WRITE_ONCE and RCU_INIT_POINTER tools/liblockdep: remove task argument from debug_check_no_locks_held
Diffstat (limited to 'tools/lib/lockdep/include/liblockdep/common.h')
-rw-r--r--tools/lib/lockdep/include/liblockdep/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/lockdep/include/liblockdep/common.h b/tools/lib/lockdep/include/liblockdep/common.h
index 0bda630027c3..a60c14b9662a 100644
--- a/tools/lib/lockdep/include/liblockdep/common.h
+++ b/tools/lib/lockdep/include/liblockdep/common.h
@@ -43,6 +43,8 @@ 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);
+extern void debug_check_no_locks_freed(const void *from, unsigned long len);
+extern void lockdep_init(void);
#define STATIC_LOCKDEP_MAP_INIT(_name, _key) \
{ .name = (_name), .key = (void *)(_key), }