diff options
author | Andi Kleen <ak@suse.de> | 2006-03-25 10:30:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 12:10:55 -0500 |
commit | 28456edeff2ef9273c55cd12e4b193208717d4cd (patch) | |
tree | 9a75fb0b2158a8db1cb29d6df0dafc85bd82526f /arch | |
parent | 7351c0bfe825db2239b835c771c95affe006f51c (diff) |
[PATCH] x86_64: Reename CMOS update warning
Was disabled due to an old bug, long gone.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/time.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c index bb6cb83450b2..7f58fa682491 100644 --- a/arch/x86_64/kernel/time.c +++ b/arch/x86_64/kernel/time.c | |||
@@ -244,17 +244,10 @@ static void set_rtc_mmss(unsigned long nowtime) | |||
244 | real_minutes += 30; /* correct for half hour time zone */ | 244 | real_minutes += 30; /* correct for half hour time zone */ |
245 | real_minutes %= 60; | 245 | real_minutes %= 60; |
246 | 246 | ||
247 | #if 0 | ||
248 | /* AMD 8111 is a really bad time keeper and hits this regularly. | ||
249 | It probably was an attempt to avoid screwing up DST, but ignore | ||
250 | that for now. */ | ||
251 | if (abs(real_minutes - cmos_minutes) >= 30) { | 247 | if (abs(real_minutes - cmos_minutes) >= 30) { |
252 | printk(KERN_WARNING "time.c: can't update CMOS clock " | 248 | printk(KERN_WARNING "time.c: can't update CMOS clock " |
253 | "from %d to %d\n", cmos_minutes, real_minutes); | 249 | "from %d to %d\n", cmos_minutes, real_minutes); |
254 | } else | 250 | } else { |
255 | #endif | ||
256 | |||
257 | { | ||
258 | BIN_TO_BCD(real_seconds); | 251 | BIN_TO_BCD(real_seconds); |
259 | BIN_TO_BCD(real_minutes); | 252 | BIN_TO_BCD(real_minutes); |
260 | CMOS_WRITE(real_seconds, RTC_SECONDS); | 253 | CMOS_WRITE(real_seconds, RTC_SECONDS); |