summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/timer.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 09:59:06 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 10:02:13 +0200
commit773922e1dab93a62e60cfb34afadb0f66d5f12e9 (patch)
treef13ea310c22080a90dcbc9580b678cbd91c44838 /include/asm-s390/timer.h
parent9d92a7e1b0d095c8be96ce5e592c6c5541684631 (diff)
downloadlinux-773922e1dab93a62e60cfb34afadb0f66d5f12e9.tar.gz
linux-773922e1dab93a62e60cfb34afadb0f66d5f12e9.tar.bz2
linux-773922e1dab93a62e60cfb34afadb0f66d5f12e9.zip
[S390] idle: remove idle notifier chain.
The idle notifier chain consists of at most one element. So there's no point in having a notifier chain. Remove it and directly call the function. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/timer.h')
-rw-r--r--include/asm-s390/timer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-s390/timer.h b/include/asm-s390/timer.h
index adb34860a543..d98d79e35cd6 100644
--- a/include/asm-s390/timer.h
+++ b/include/asm-s390/timer.h
@@ -48,6 +48,18 @@ extern int del_virt_timer(struct vtimer_list *timer);
extern void init_cpu_vtimer(void);
extern void vtime_init(void);
+#ifdef CONFIG_VIRT_TIMER
+
+extern void vtime_start_cpu_timer(void);
+extern void vtime_stop_cpu_timer(void);
+
+#else
+
+static inline void vtime_start_cpu_timer(void) { }
+static inline void vtime_stop_cpu_timer(void) { }
+
+#endif /* CONFIG_VIRT_TIMER */
+
#endif /* __KERNEL__ */
#endif /* _ASM_S390_TIMER_H */