[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:
Kyle McMartin 2006-08-13 21:09:31 -04:00 committed by Matthew Wilcox
parent c51d476af3
commit f86e45131f

View file

@ -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);