diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2008-06-13 09:31:11 -0400 |
---|---|---|
committer | Vegard Nossum <vegard.nossum@gmail.com> | 2009-06-12 17:04:12 -0400 |
commit | b618ad31bb2020db6a36929122e5554e33210d47 (patch) | |
tree | e00613ec7344cb15eefe06ee41f1287e7cfa3fb4 /include/linux/stacktrace.h | |
parent | acc6be5405b90c9f0fb0eb8a74ec4d4b7b5bf48f (diff) |
stacktrace: add forward-declaration struct task_struct
This is needed if the header is to be free-standing.
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'include/linux/stacktrace.h')
-rw-r--r-- | include/linux/stacktrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 551f6c7d5044..51efbef38fb0 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h | |||
@@ -4,6 +4,8 @@ | |||
4 | struct task_struct; | 4 | struct task_struct; |
5 | 5 | ||
6 | #ifdef CONFIG_STACKTRACE | 6 | #ifdef CONFIG_STACKTRACE |
7 | struct task_struct; | ||
8 | |||
7 | struct stack_trace { | 9 | struct stack_trace { |
8 | unsigned int nr_entries, max_entries; | 10 | unsigned int nr_entries, max_entries; |
9 | unsigned long *entries; | 11 | unsigned long *entries; |