[S390] extend virtual timer interface by mod_virt_timer_periodic
authorJan Glauber <jang@linux.vnet.ibm.com>
Tue, 14 Apr 2009 13:36:20 +0000 (15:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:37:23 +0000 (15:37 +0200)
commitb6ecfa9273e27b5c7ba04655eb44f78bf4db5b64
tree559f0b436efd410625d8a7a502ca3a1503e3a1a2
parent0436230148c55e3afbe5c57775a1fb44ba4834ac
[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>
arch/s390/include/asm/timer.h
arch/s390/kernel/vtime.c