summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/thread_info.h
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2021-02-03 21:28:35 +0300
committerVasily Gorbik <gor@linux.ibm.com>2021-02-09 17:57:04 +0300
commit5b96e6c10b632cb8ff40f3d107c4e9dece18beeb (patch)
tree6439357878fb16899c2589e782a8c95e373e27f5 /arch/s390/include/asm/thread_info.h
parentd010b378736898d7a65a9f9105088f1d335da48d (diff)
downloadlinux-5b96e6c10b632cb8ff40f3d107c4e9dece18beeb.tar.xz
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/asm/thread_info.h')
-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);