diff options
| author | Tony Breeds <[email protected]> | 2007-09-11 15:24:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-09-11 17:21:27 -0700 |
| commit | 298a5df45d497e66064fda22ef0abf13766d3333 (patch) | |
| tree | b80a0fb05176987e6c41ab18b079629871ddfbbb /kernel | |
| 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 <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Gabriel Paubert <[email protected]>
Cc: Zachary Amsden <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: John Stultz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'kernel')
| -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) static void notify_cmos_timer(void) { - if (no_sync_cmos_clock) + if (!no_sync_cmos_clock) mod_timer(&sync_cmos_timer, jiffies + 1); } |