18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef ___ASM_SPARC_MC146818RTC_H 38c2ecf20Sopenharmony_ci#define ___ASM_SPARC_MC146818RTC_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/spinlock.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciextern spinlock_t rtc_lock; 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#if defined(__sparc__) && defined(__arch64__) 108c2ecf20Sopenharmony_ci#include <asm/mc146818rtc_64.h> 118c2ecf20Sopenharmony_ci#else 128c2ecf20Sopenharmony_ci#include <asm/mc146818rtc_32.h> 138c2ecf20Sopenharmony_ci#endif 148c2ecf20Sopenharmony_ci#endif 15