|
@@ -10,7 +10,7 @@
|
|
#ifndef __ASM_MACH_RM_MC146818RTC_H
|
|
#ifndef __ASM_MACH_RM_MC146818RTC_H
|
|
#define __ASM_MACH_RM_MC146818RTC_H
|
|
#define __ASM_MACH_RM_MC146818RTC_H
|
|
|
|
|
|
-#if CONFIG_CPU_BIG_ENDIAN
|
|
|
|
|
|
+#ifdef CONFIG_CPU_BIG_ENDIAN
|
|
#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
|
|
#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
|
|
#else
|
|
#else
|
|
#define mc146818_decode_year(year) ((year) + 1980)
|
|
#define mc146818_decode_year(year) ((year) + 1980)
|