timekeeping: Simplify tai updating from do_adjtimex
authorJohn Stultz <john.stultz@linaro.org>
Fri, 22 Mar 2013 21:20:03 +0000 (14:20 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 20:18:16 +0000 (13:18 -0700)
commit0b5154fb9040cca94e7d9893384c0e78bfe2d296
tree56f00530b6f99159d478ed48771a2fd97b26c5f1
parent06c017fdd4dc48451a29ac37fc1db4a3f86b7f40
timekeeping: Simplify tai updating from do_adjtimex

Since we are taking the timekeeping locks, just go ahead
and update any tai change directly, rather then dropping
the lock and calling a function that will just take it again.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/timekeeping.c