xref: /linux/arch/sparc/include/asm/mc146818rtc.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ___ASM_SPARC_MC146818RTC_H
3 #define ___ASM_SPARC_MC146818RTC_H
4 
5 #include <linux/spinlock.h>
6 
7 extern spinlock_t rtc_lock;
8 
9 #if defined(__sparc__) && defined(__arch64__)
10 #include <asm/mc146818rtc_64.h>
11 #else
12 #include <asm/mc146818rtc_32.h>
13 #endif
14 #endif
15