summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-04-19 21:31:26 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-04-21 07:59:51 +0200
commit259aae864ceeb2b34e7bafa1ce18d096a357fab2 (patch)
tree5adb390434df0d95497763177d729c5d6cc98d20 /drivers/s390/cio/qdio.c
parenthrtimer: reduce calls to hrtimer_get_softirq_time() (diff)
downloadlinux-259aae864ceeb2b34e7bafa1ce18d096a357fab2.tar.xz
linux-259aae864ceeb2b34e7bafa1ce18d096a357fab2.zip
hrtimer: optimize the softirq time optimization
The previous optimization did not take the case into account where a clock provides its own softirq_get_time() function. Check for the availablitiy of the clock get time function first and then check if we need to retrieve the time for both clocks via hrtimer_softirq_gettime() to avoid a double evaluation of time in that case as well. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/s390/cio/qdio.c')
0 files changed, 0 insertions, 0 deletions