Commit f86e4513 authored by Kyle McMartin's avatar Kyle McMartin Committed by Matthew Wilcox

[PATCH] Need forward decl of task_struct in linux/debug_locks.h

Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent c51d476a
...@@ -43,6 +43,8 @@ extern int debug_locks_off(void); ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment