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://git.karo-electronics.de/?a=commitdiff_plain;h=f86e45131f9d41b1617fbaac7aa1ef23e8d0ab48;p=karo-tx-linux.git [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 88dafa246d87..952bee79a8f3 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);