aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/timer.h
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2009-04-14 09:36:20 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-04-14 09:37:23 -0400
commitb6ecfa9273e27b5c7ba04655eb44f78bf4db5b64 (patch)
tree559f0b436efd410625d8a7a502ca3a1503e3a1a2 /arch/s390/include/asm/timer.h
parent0436230148c55e3afbe5c57775a1fb44ba4834ac (diff)
[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/asm/timer.h')
-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);
41extern void add_virt_timer(void *new); 41extern void add_virt_timer(void *new);
42extern void add_virt_timer_periodic(void *new); 42extern void add_virt_timer_periodic(void *new);
43extern int mod_virt_timer(struct vtimer_list *timer, __u64 expires); 43extern int mod_virt_timer(struct vtimer_list *timer, __u64 expires);
44extern int mod_virt_timer_periodic(struct vtimer_list *timer, __u64 expires);
44extern int del_virt_timer(struct vtimer_list *timer); 45extern int del_virt_timer(struct vtimer_list *timer);
45 46
46extern void init_cpu_vtimer(void); 47extern void init_cpu_vtimer(void);