aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2021-02-03 19:28:35 +0100
committerVasily Gorbik <gor@linux.ibm.com>2021-02-09 15:57:04 +0100
commit5b96e6c10b632cb8ff40f3d107c4e9dece18beeb (patch)
tree6439357878fb16899c2589e782a8c95e373e27f5 /arch
parents390: update defconfigs (diff)
downloadlinux-dev-5b96e6c10b632cb8ff40f3d107c4e9dece18beeb.tar.xz
linux-dev-5b96e6c10b632cb8ff40f3d107c4e9dece18beeb.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/thread_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h
index 28696ca7680d..e6674796aa6f 100644
--- 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);