Skip to content

Commit

Permalink
[PATCH] Need forward decl of task_struct in linux/debug_locks.h
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
  • Loading branch information
Kyle McMartin authored and Matthew Wilcox committed Oct 4, 2006
1 parent c51d476 commit f86e451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/debug_locks.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f86e451

Please sign in to comment.