summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2007-09-11 15:24:03 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-11 17:21:27 -0700
commit298a5df45d497e66064fda22ef0abf13766d3333 (patch)
treeb80a0fb05176987e6c41ab18b079629871ddfbbb /kernel
parent0e2f6db88a6900bc9db576d6b478b12ee60d61f7 (diff)
downloadlinux-298a5df45d497e66064fda22ef0abf13766d3333.tar.gz
linux-298a5df45d497e66064fda22ef0abf13766d3333.tar.bz2
linux-298a5df45d497e66064fda22ef0abf13766d3333.zip
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')
-rw-r--r--kernel/time/ntp.c2
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)
static void notify_cmos_timer(void)
{
- if (no_sync_cmos_clock)
+ if (!no_sync_cmos_clock)
mod_timer(&sync_cmos_timer, jiffies + 1);
}