diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2006-08-13 21:09:31 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 08:45:23 -0400 |
commit | f86e45131f9d41b1617fbaac7aa1ef23e8d0ab48 (patch) | |
tree | 4059b6974e71781a36a69943d2aa5ff4397cec06 /include/linux | |
parent | c51d476af36d1e9634e77afccc4d48e344acf243 (diff) |
[PATCH] Need forward decl of task_struct in linux/debug_locks.h
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/debug_locks.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); | |||
43 | # define locking_selftest() do { } while (0) | 43 | # define locking_selftest() do { } while (0) |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | struct task_struct; | ||
47 | |||
46 | #ifdef CONFIG_LOCKDEP | 48 | #ifdef CONFIG_LOCKDEP |
47 | extern void debug_show_all_locks(void); | 49 | extern void debug_show_all_locks(void); |
48 | extern void debug_show_held_locks(struct task_struct *task); | 50 | extern void debug_show_held_locks(struct task_struct *task); |