]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hrtimer: fix up unlocked access to wall_to_monotonic
authorThomas Gleixner <tglx@linutronix.de>
Fri, 16 Mar 2007 21:38:21 +0000 (13:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 17 Mar 2007 02:25:05 +0000 (19:25 -0700)
commitdab445f2dbe6983c6638c17bfa00637995af34a2
tree447f451b04b548c1e0bdc700f0697baf742895c5
parentd815d4e047941e620f6a3347d03f364adb5a96c8
[PATCH] hrtimer: fix up unlocked access to wall_to_monotonic

commit f84ef8ea2d6b0ef6a008760a402ee6c532584006 (HZ free NTP) moved the
access to wall_to_monotonic in hrtimer_get_softirq_time() out of the
xtime_lock protection.

Move it back into the seq_lock section.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/hrtimer.c