Sam Ravnborg | a439fe5 | 2008-07-27 23:00:59 +0200 | [diff] [blame] | 1 | #ifndef ___ASM_SPARC_MC146818RTC_H |
2 | #define ___ASM_SPARC_MC146818RTC_H | ||||
Sam Ravnborg | fcea8b2 | 2014-05-16 23:25:44 +0200 | [diff] [blame] | 3 | |
4 | #include <linux/spinlock.h> | ||||
5 | |||||
6 | extern spinlock_t rtc_lock; | ||||
7 | |||||
Sam Ravnborg | a439fe5 | 2008-07-27 23:00:59 +0200 | [diff] [blame] | 8 | #if defined(__sparc__) && defined(__arch64__) |
9 | #include <asm/mc146818rtc_64.h> | ||||
10 | #else | ||||
11 | #include <asm/mc146818rtc_32.h> | ||||
12 | #endif | ||||
13 | #endif |