diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2007-09-11 18:24:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-11 20:21:27 -0400 |
commit | 298a5df45d497e66064fda22ef0abf13766d3333 (patch) | |
tree | b80a0fb05176987e6c41ab18b079629871ddfbbb /kernel/time | |
parent | 0e2f6db88a6900bc9db576d6b478b12ee60d61f7 (diff) |
Fix "no_sync_cmos_clock" logic inversion in kernel/time/ntp.c
Seems to me that this timer will only get started on platforms that say
they don't want it?
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Gabriel Paubert <paubert@iram.es>
Cc: Zachary Amsden <zach@vmware.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/ntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index cd91237dbfe3..de6a2d6b3ebb 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c | |||
@@ -226,7 +226,7 @@ static void sync_cmos_clock(unsigned long dummy) | |||
226 | 226 | ||
227 | static void notify_cmos_timer(void) | 227 | static void notify_cmos_timer(void) |
228 | { | 228 | { |
229 | if (no_sync_cmos_clock) | 229 | if (!no_sync_cmos_clock) |
230 | mod_timer(&sync_cmos_timer, jiffies + 1); | 230 | mod_timer(&sync_cmos_timer, jiffies + 1); |
231 | } | 231 | } |
232 | 232 | ||