diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2015-11-06 15:47:29 -0500 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-11-06 16:01:37 -0500 |
commit | 2b62c2dbb902625f5c5a30c0209f261b1cf15a2a (patch) | |
tree | d513fb82426b741e8bff213edc14942e57f12dc7 /tools/lib/lockdep/include/liblockdep/common.h | |
parent | e308e942e122f5de1a180f0b2a4002d09a757f45 (diff) | |
download | linux-2b62c2dbb902625f5c5a30c0209f261b1cf15a2a.tar.bz2 |
tools/liblockdep: explicitly declare lockdep API we call from liblockdep
It seems that newer gcc complains about lack of explicit declaration for some
of the API we use, add it in.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'tools/lib/lockdep/include/liblockdep/common.h')
-rw-r--r-- | tools/lib/lockdep/include/liblockdep/common.h | 2 |
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), } |