summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vtime.c
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/kernel/vtime.c
parentf70a34c57602f5791a63869db95f3b97276cd1d2 (diff)
downloadlinux-stable-521b00cd7a6491fbec7d1ede5b6b33f106a6addc.tar.gz
linux-stable-521b00cd7a6491fbec7d1ede5b6b33f106a6addc.tar.bz2
linux-stable-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/kernel/vtime.c')
-rw-r--r--arch/s390/kernel/vtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/vtime.c b/arch/s390/kernel/vtime.c
index dafc44f519c3..856e30d8463f 100644
--- a/arch/s390/kernel/vtime.c
+++ b/arch/s390/kernel/vtime.c
@@ -18,6 +18,8 @@
#include <asm/cpu_mf.h>
#include <asm/smp.h>
+#include "entry.h"
+
static void virt_timer_expire(void);
static LIST_HEAD(virt_timer_list);