diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-05-07 12:15:21 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-05-10 13:24:51 +0200 |
commit | 521b00cd7a6491fbec7d1ede5b6b33f106a6addc (patch) | |
tree | 9ac2bb236b3acbf32930f9a8cf2a2d8b13ae8bbb /arch/s390/include | |
parent | f70a34c57602f5791a63869db95f3b97276cd1d2 (diff) | |
download | op-kernel-dev-521b00cd7a6491fbec7d1ede5b6b33f106a6addc.zip op-kernel-dev-521b00cd7a6491fbec7d1ede5b6b33f106a6addc.tar.gz |
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.h | 1 |
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 2fffc2c..f15c039 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 |