diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-08-23 15:29:43 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-09-08 11:10:56 +0200 |
commit | 65516f8a7c2028381f0dae4c16ddb621c96158cc (patch) | |
tree | 1f6192832c77e25499331b074398e165c1220197 /arch/s390/kernel/time.c | |
parent | clockevents: Make minimum delay adjustments configurable (diff) | |
download | linux-65516f8a7c2028381f0dae4c16ddb621c96158cc.tar.xz linux-65516f8a7c2028381f0dae4c16ddb621c96158cc.zip |
clockevents: Add direct ktime programming function
There is at least one architecture (s390) with a sane clockevent device
that can be programmed with the equivalent of a ktime. No need to create
a delta against the current time, the ktime can be used directly.
A new clock device function 'set_next_ktime' is introduced that is called
with the unmodified ktime for the timer if the clock event device has the
CLOCK_EVT_FEAT_KTIME bit set.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: john stultz <johnstul@us.ibm.com>
Link: http://lkml.kernel.org/r/20110823133142.815350967@de.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/s390/kernel/time.c')
0 files changed, 0 insertions, 0 deletions