[PATCH] Need forward decl of task_struct in linux/debug_locks.h
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
c51d476af3
commit
f86e45131f
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ extern int debug_locks_off(void);
|
|||
# define locking_selftest() do { } while (0)
|
||||
#endif
|
||||
|
||||
struct task_struct;
|
||||
|
||||
#ifdef CONFIG_LOCKDEP
|
||||
extern void debug_show_all_locks(void);
|
||||
extern void debug_show_held_locks(struct task_struct *task);
|
||||
|
|
Loading…
Reference in a new issue