commit | f695cf94837de53864180400cbac42cfa370426f | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Wed Mar 14 16:38:15 2012 -0700 |
committer | John Stultz <john.stultz@linaro.org> | Thu Mar 15 18:17:54 2012 -0700 |
tree | 9bb91a9b8c5a1291a083a37e790da00d477b18f8 | |
parent | a939e817aa7e199d2fff05a67cb745be32dd5c2d [diff] |
time: Fix change_clocksource locking change_clocksource() fails to grab locks or call timekeeping_update(), which leaves a race window for time inconsistencies. This adds proper locking and a call to timekeeping_update() to fix this. CC: Andy Lutomirski <luto@amacapital.net> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>