提交 897312bd 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

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: N"Randy.Dunlap" <rdunlap@xenotime.net>
Acked-by: NIngo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f2fe1638
#ifndef __LINUX_STACKTRACE_H #ifndef __LINUX_STACKTRACE_H
#define __LINUX_STACKTRACE_H #define __LINUX_STACKTRACE_H
struct task_struct;
#ifdef CONFIG_STACKTRACE #ifdef CONFIG_STACKTRACE
struct stack_trace { struct stack_trace {
unsigned int nr_entries, max_entries; unsigned int nr_entries, max_entries;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册