From: "Andi Kleen" That's ok since x86-64 systems only exist since 2001. More is unfortunately not possible because the RTC CMOS only supports two decimal digits. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton --- 25-akpm/arch/x86_64/kernel/time.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff -puN arch/x86_64/kernel/time.c~x86_64-change-the-y2069-bug-in-the-rtc-timer-code-to-be arch/x86_64/kernel/time.c --- 25/arch/x86_64/kernel/time.c~x86_64-change-the-y2069-bug-in-the-rtc-timer-code-to-be Wed Mar 23 15:39:02 2005 +++ 25-akpm/arch/x86_64/kernel/time.c Wed Mar 23 15:39:02 2005 @@ -551,11 +551,10 @@ unsigned long get_cmos_time(void) BCD_TO_BIN(year); /* - * This will work up to Dec 31, 2069. + * x86-64 systems only exists since 2002. + * This will work up to Dec 31, 2100 */ - - if ((year += 1900) < 1970) - year += 100; + year += 2000; return mktime(year, mon, day, hour, min, sec); } _