[PATCH] [35/66] x86_64: Reename CMOS update warning
- Subject: [PATCH] [35/66] x86_64: Reename CMOS update warning
- From: "Andi Kleen" <ak@xxxxxxx>
- Date: Thu, 23 Mar 2006 21:30:04 +0100
- Cc: linux-x86_64@xxxxxxxxxxxxxxx
- User-agent: nail 10.6 11/15/03
Was disabled due to an old bug, long gone.
Signed-off-by: Andi Kleen <ak@xxxxxxx>
---
arch/x86_64/kernel/time.c | 9 +--------
1 files changed, 1 insertion(+), 8 deletions(-)
Index: linux/arch/x86_64/kernel/time.c
===================================================================
--- linux.orig/arch/x86_64/kernel/time.c
+++ linux/arch/x86_64/kernel/time.c
@@ -244,17 +244,10 @@ static void set_rtc_mmss(unsigned long n
real_minutes += 30; /* correct for half hour time zone */
real_minutes %= 60;
-#if 0
- /* AMD 8111 is a really bad time keeper and hits this regularly.
- It probably was an attempt to avoid screwing up DST, but ignore
- that for now. */
if (abs(real_minutes - cmos_minutes) >= 30) {
printk(KERN_WARNING "time.c: can't update CMOS clock "
"from %d to %d\n", cmos_minutes, real_minutes);
- } else
-#endif
-
- {
+ } else {
BIN_TO_BCD(real_seconds);
BIN_TO_BCD(real_minutes);
CMOS_WRITE(real_seconds, RTC_SECONDS);
-
: send the line "unsubscribe linux-x86_64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux ia64]
[Linux MIPS Home]
[Linux Kernel]
[DCCP]
[Linux ARM]
[Linux]
[Photo]
[Yosemite News]
[Linux SCSI]
[Linux Hams]