diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-10-04 00:23:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-04 03:22:18 +0200 |
commit | 897312bd240357c88ce906633703c324c6f0a5cd (patch) | |
tree | 69f36bf034c096d6a65ac9d9333e599fe6f0113a /include | |
parent | orion_spi: fix handling of default transfer speed (diff) | |
download | linux-897312bd240357c88ce906633703c324c6f0a5cd.tar.xz linux-897312bd240357c88ce906633703c324c6f0a5cd.zip |
include/linux/stacktrace.h: declare struct task_struct
include/linux/stacktrace.h:13: warning:
'struct task_struct' declared inside parameter list
(This might be a hard error on sparc64, which uses this header and has
-Werror)
Reported-by: "Randy.Dunlap" <rdunlap@xenotime.net>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-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 5da9794b2d78..b106fd8e0d5c 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -1,6 +1,8 @@ #ifndef __LINUX_STACKTRACE_H #define __LINUX_STACKTRACE_H +struct task_struct; + #ifdef CONFIG_STACKTRACE struct stack_trace { unsigned int nr_entries, max_entries; |