mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 03:55:09 +08:00
s390/thread_info.h: fix task_struct declaration warning
Add missing forward declaration for task_struct. The warning appears when the -Werror C compiler flag is being used. Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
d010b37873
commit
5b96e6c10b
@ -47,6 +47,8 @@ struct thread_info {
|
||||
.flags = 0, \
|
||||
}
|
||||
|
||||
struct task_struct;
|
||||
|
||||
void arch_release_task_struct(struct task_struct *tsk);
|
||||
int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user