diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-10-03 15:23:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-03 18:22:18 -0700 |
commit | 897312bd240357c88ce906633703c324c6f0a5cd (patch) | |
tree | 69f36bf034c096d6a65ac9d9333e599fe6f0113a /include | |
parent | f2fe1638f624467ae583b1a41a01804405f29eee (diff) | |
download | kernel-crypto-897312bd240357c88ce906633703c324c6f0a5cd.tar.gz kernel-crypto-897312bd240357c88ce906633703c324c6f0a5cd.tar.xz kernel-crypto-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 5da9794b2d7..b106fd8e0d5 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; |