summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorJan Glauber2009-04-14 15:36:20 +0200
committerMartin Schwidefsky2009-04-14 15:37:23 +0200
commitb6ecfa9273e27b5c7ba04655eb44f78bf4db5b64 (patch)
tree559f0b436efd410625d8a7a502ca3a1503e3a1a2 /arch/s390/include
parent[S390] stp synchronization retry timer (diff)
downloadkernel-qcow2-linux-b6ecfa9273e27b5c7ba04655eb44f78bf4db5b64.tar.gz
kernel-qcow2-linux-b6ecfa9273e27b5c7ba04655eb44f78bf4db5b64.tar.xz
kernel-qcow2-linux-b6ecfa9273e27b5c7ba04655eb44f78bf4db5b64.zip
[S390] extend virtual timer interface by mod_virt_timer_periodic
In case mod_virt_timer is used to add a non pending timer the timer is always added as a one-shot timer. If mod_virt_timer is used for periodic timers they may therfore be degraded to one-shot timers. Add mod_virt_timer_periodic to the interface to allow safe re-programming of the interval value. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/timer.h b/arch/s390/include/asm/timer.h
index e4bcab739c19..814243cafdfe 100644
--- a/arch/s390/include/asm/timer.h
+++ b/arch/s390/include/asm/timer.h
@@ -41,6 +41,7 @@ extern void init_virt_timer(struct vtimer_list *timer);
extern void add_virt_timer(void *new);
extern void add_virt_timer_periodic(void *new);
extern int mod_virt_timer(struct vtimer_list *timer, __u64 expires);
+extern int mod_virt_timer_periodic(struct vtimer_list *timer, __u64 expires);
extern int del_virt_timer(struct vtimer_list *timer);
extern void init_cpu_vtimer(void);