Re: [PATCH] [1/3] Only do century BCD conversion when we know the RTC is BCD

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <ak@...>
Cc: <mingo@...>, <linux-kernel@...>
Date: Saturday, February 9, 2008 - 6:28 am

On Fri, 8 Feb 2008, Andi Kleen wrote:


Where was it previously always BCD ?

The code flow is taken 1:1 from the original x8664 code. Just the
BCD_TO_BIN code has been made conditional for i386, which is not
chanining the logic at all, because RTC_ALWAYS_BCD is always true on
x8664.

While your change does not do any harm due to BCD_TO_BIN(0) = 0, it
is just not fixing anything.

Thanks,
	tglx
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] [1/3] Only do century BCD conversion when we kno..., Thomas Gleixner, (Sat Feb 9, 6:28 am)
[PATCH] [2/3] Use 2000 offset for 32bit kernels, Andi Kleen, (Fri Feb 8, 8:14 am)