mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
[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)
|
# define locking_selftest() do { } while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct task_struct;
|
||||||
|
|
||||||
#ifdef CONFIG_LOCKDEP
|
#ifdef CONFIG_LOCKDEP
|
||||||
extern void debug_show_all_locks(void);
|
extern void debug_show_all_locks(void);
|
||||||
extern void debug_show_held_locks(struct task_struct *task);
|
extern void debug_show_held_locks(struct task_struct *task);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue