]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/mach-generic/mc146818rtc.h
[MIPS] SMP: Call platform methods via ops structure.
[linux-2.6-omap-h63xx.git] / include / asm-mips / mach-generic / mc146818rtc.h
index 90c2e6f77faa7821b32546c4fdaeeb510281316c..0b9a942f079d0a8f1c325d7ab5b988145ce124fb 100644 (file)
@@ -30,7 +30,7 @@ static inline void CMOS_WRITE(unsigned char data, unsigned long addr)
 #define RTC_ALWAYS_BCD 1
 
 #ifndef mc146818_decode_year
-#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1970)
+#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
 #endif
 
 #endif /* __ASM_MACH_GENERIC_MC146818RTC_H */