mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
e308e942e1
commit
2b62c2dbb9
2 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <linux/utsname.h>
|
||||
|
||||
#include <linux/compiler.h>
|
||||
|
||||
#define MAX_LOCK_DEPTH 2000UL
|
||||
|
||||
|
@ -54,5 +54,6 @@ static struct new_utsname *init_utsname(void)
|
|||
#define static_obj(x) 1
|
||||
|
||||
#define debug_show_all_locks()
|
||||
extern void debug_check_no_locks_held(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue