summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorMartin Schwidefsky2011-08-23 15:29:44 +0200
committerThomas Gleixner2011-09-08 11:10:56 +0200
commit4f37a68cdaf6dea833cfdded2a3e0c47c0f006da (patch)
tree2c2ce0efed94dea56c00eb8ac138e6c5ad1d8cbe /kernel/time
parentclockevents: Add direct ktime programming function (diff)
downloadkernel-qcow2-linux-4f37a68cdaf6dea833cfdded2a3e0c47c0f006da.tar.gz
kernel-qcow2-linux-4f37a68cdaf6dea833cfdded2a3e0c47c0f006da.tar.xz
kernel-qcow2-linux-4f37a68cdaf6dea833cfdded2a3e0c47c0f006da.zip
s390: Use direct ktime path for s390 clockevent device
The clock comparator on s390 uses the same format as the TOD clock. If the value in the clock comparator is smaller than the current TOD value an interrupt is pending. Use the CLOCK_EVT_FEAT_KTIME feature to get the unmodified ktime of the next clockevent expiration and use it to program the clock comparator without querying the TOD clock. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: john stultz <johnstul@us.ibm.com> Link: http://lkml.kernel.org/r/20110823133143.153017933@de.ibm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions