hrtimer: Avoid double seqlock
authorStanislaw Gruszka <stf_xl@wp.pl>
Tue, 25 May 2010 21:49:12 +0000 (23:49 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 26 May 2010 14:15:37 +0000 (16:15 +0200)
commit174bd1994ec67a6e6191c4ed8e5dac17fa221b84
tree1f1d80d40787dddff4a0b8bc63e70ad2c2981c5c
parent2abfb9e1d470f7082e5e20e4b11a271a0124211b
hrtimer: Avoid double seqlock

hrtimer_get_softirq_time() has it's own xtime lock protection, so it's
safe to use plain __current_kernel_time() and avoid the double seqlock
loop.

Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
LKML-Reference: <20100525214912.GA1934@r2bh72.net.upc.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/hrtimer.c