cregit-Linux how code gets into the kernel

Release 4.10 arch/mips/include/asm/mach-rm/mc146818rtc.h

/*
 * 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 */

Overall Contributors

PersonTokensPropCommitsCommitProp
thomas bogendoerferthomas bogendoerfer1546.88%133.33%
andrew mortonandrew morton1546.88%133.33%
ralf baechleralf baechle26.25%133.33%
Total32100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.