aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-05-07 12:15:21 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-05-10 13:24:51 +0200
commit521b00cd7a6491fbec7d1ede5b6b33f106a6addc (patch)
tree9ac2bb236b3acbf32930f9a8cf2a2d8b13ae8bbb /arch/s390/include
parents390: make couple of variables and functions static (diff)
downloadlinux-dev-521b00cd7a6491fbec7d1ede5b6b33f106a6addc.tar.xz
linux-dev-521b00cd7a6491fbec7d1ede5b6b33f106a6addc.zip
s390: add missing declarations
arch_dup_task_struct and the per cpu variable mt_cycles are globally visible, but do not have any header file with a declaration. Therefore add it so we have proper type checking in place. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/thread_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h
index 2fffc2c27581..f15c0398c363 100644
--- a/arch/s390/include/asm/thread_info.h
+++ b/arch/s390/include/asm/thread_info.h
@@ -62,6 +62,7 @@ static inline struct thread_info *current_thread_info(void)
}
void arch_release_task_struct(struct task_struct *tsk);
+int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src);
#define THREAD_SIZE_ORDER THREAD_ORDER