]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hrtimers: Move lock held region in hrtimer_interrupt()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 10 Jul 2012 22:43:23 +0000 (18:43 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 11 Jul 2012 21:34:38 +0000 (23:34 +0200)
commit196951e91262fccda81147d2bcf7fdab08668b40
tree80b7ae7f48d8591a6d470583b35757a000326f45
parent5b9fe759a678e05be4937ddf03d50e950207c1c0
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>
kernel/hrtimer.c