Re: [PATCH] [1/5] Only do century BCD conversion when we know theRTC is BCD

From: Andi Kleen
Date: Wed Feb 13 2008 - 08:48:29 EST


Thomas Gleixner wrote:
> On Mon, 11 Feb 2008, Andi Kleen wrote:
>
>>> So the warning comes a bit late :)
>> I suspect if this was wrong before it would not have been noticed
>> because user space hwclock would work around it.
>
> And how exaclty does it work aroalund ? By setting the binary cmos clock
> with BCD values ?

By reading the value directly from CMOS I suppose and checking
the BCD bit and then setting the clock to the correct value [all
theoretical; i have not checked the hwclock code if
it does that or not. It might be wrong. Just a hypothesis.]

-Andi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/