UPSTREAM: timekeeping: Hold timekeepering locks in do_adjtimex and hardpps

In moving the NTP state to be protected by the timekeeping locks,
be sure to acquire the timekeeping locks prior to calling
ntp functions.

BUG=chromium:324025
TEST=build/boot 3.8 on link

Cc: Thomas Gleixner <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Signed-off-by: John Stultz <[email protected]>
(cherry picked from commit 06c017fdd4dc48451a29ac37fc1db4a3f86b7f40)
Signed-off-by: Sonny Rao <[email protected]>

Change-Id: I2ee60cfe2a7c15981606083b23ff557845b963d2
Reviewed-on: https://chromium-review.googlesource.com/300754
Commit-Ready: Sonny Rao <[email protected]>
Tested-by: Sonny Rao <[email protected]>
Reviewed-by: Olof Johansson <[email protected]>
1 file changed
OSZAR »