summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-07-10 18:43:23 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-07-11 23:34:38 +0200
commit196951e91262fccda81147d2bcf7fdab08668b40 (patch)
tree80b7ae7f48d8591a6d470583b35757a000326f45 /lib
parent5b9fe759a678e05be4937ddf03d50e950207c1c0 (diff)
downloadop-kernel-dev-196951e91262fccda81147d2bcf7fdab08668b40.zip
op-kernel-dev-196951e91262fccda81147d2bcf7fdab08668b40.tar.gz
hrtimers: Move lock held region in hrtimer_interrupt()
We need to update the base offsets from this code and we need to do that under base->lock. Move the lock held region around the ktime_get() calls. The ktime_get() calls are going to be replaced with a function which gets the time and the offsets atomically. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Prarit Bhargava <prarit@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: John Stultz <johnstul@us.ibm.com> Link: http://lkml.kernel.org/r/1341960205-56738-6-git-send-email-johnstul@us.ibm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud