summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
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/s390/include
parentd010b378736898d7a65a9f9105088f1d335da48d (diff)
downloadlinux-5b96e6c10b632cb8ff40f3d107c4e9dece18beeb.tar.bz2
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/s390/include')
-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);