From: Kyle McMartin Date: Mon, 14 Aug 2006 01:09:31 +0000 (-0400) Subject: [PATCH] Need forward decl of task_struct in linux/debug_locks.h X-Git-Tag: v2.6.19-rc1~34^2~37 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f86e45131f9d41b1617fbaac7aa1ef23e8d0ab48;p=linux-2.6 [PATCH] Need forward decl of task_struct in linux/debug_locks.h Signed-off-by: Kyle McMartin --- diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h index 88dafa246d..952bee79a8 100644 --- a/include/linux/debug_locks.h +++ b/include/linux/debug_locks.h @@ -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);