|
|
| File: [Development] / linux-2.6-xfs / include / asm-mips / mach-rm / mc146818rtc.h (download)
Revision 1.2, Tue Mar 20 15:37:21 2007 UTC (10 years, 7 months ago) by tes.longdrop.melbourne.sgi.com
Merge up to 2.6.21-rc4 Merge of 2.6.x-xfs-melb:linux:28276b by kenmcd. |
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2004 by Ralf Baechle * * RTC routines for PC style attached Dallas chip with ARC epoch. */ #ifndef __ASM_MACH_RM_MC146818RTC_H #define __ASM_MACH_RM_MC146818RTC_H #ifdef CONFIG_CPU_BIG_ENDIAN #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) #else #define mc146818_decode_year(year) ((year) + 1980) #endif #include_next <mc146818rtc.h> #endif /* __ASM_MACH_RM_MC146818RTC_H */