projects
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69726d3
)
s390/thread_info.h: fix task_struct declaration warning
author
Alexander Egorenkov
<egorenar@linux.ibm.com>
Wed, 3 Feb 2021 18:28:35 +0000
(19:28 +0100)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Tue, 9 Feb 2021 14:57:04 +0000
(15:57 +0100)
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>
arch/s390/include/asm/thread_info.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/thread_info.h
b/arch/s390/include/asm/thread_info.h
index 28696ca7680d7bee7b123bdcedad78fdb3595a9a..e6674796aa6f4737f0160b25c38322233cb43f40 100644
(file)
--- a/
arch/s390/include/asm/thread_info.h
+++ b/
arch/s390/include/asm/thread_info.h
@@
-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);