[PATCH] Need forward decl of task_struct in linux/debug_locks.h
authorKyle McMartin <kyle@parisc-linux.org>
Mon, 14 Aug 2006 01:09:31 +0000 (21:09 -0400)
committerMatthew Wilcox <willy@parisc-linux.org>
Wed, 4 Oct 2006 12:45:23 +0000 (06:45 -0600)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/linux/debug_locks.h

index 88dafa246d87a968b61163ad500dd7da2d5bb812..952bee79a8f30902328277a6d16920a53e4da12f 100644 (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);