diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-07-10 18:43:23 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-07-25 04:11:36 +0100 |
commit | d6a2a0400e36bcd2892272995a65b4bca029220f (patch) | |
tree | a61c66f2fd92d8dd8d88326eb8b559e8ce51d6c1 /include/linux/hrtimer.h | |
parent | a105e023adf852c9847e1fe7f0bc151ce0339914 (diff) |
hrtimers: Move lock held region in hrtimer_interrupt()
commit 196951e91262fccda81147d2bcf7fdab08668b40 upstream.
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>
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/hrtimer.h')
0 files changed, 0 insertions, 0 deletions