summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/mc146818rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/mc146818rtc.h')
-rw-r--r--arch/sparc/include/asm/mc146818rtc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/mc146818rtc.h b/arch/sparc/include/asm/mc146818rtc.h
index 67ed9e3a0235..d8e72f37dc4b 100644
--- a/arch/sparc/include/asm/mc146818rtc.h
+++ b/arch/sparc/include/asm/mc146818rtc.h
@@ -1,5 +1,10 @@
#ifndef ___ASM_SPARC_MC146818RTC_H
#define ___ASM_SPARC_MC146818RTC_H
+
+#include <linux/spinlock.h>
+
+extern spinlock_t rtc_lock;
+
#if defined(__sparc__) && defined(__arch64__)
#include <asm/mc146818rtc_64.h>
#else
OpenPOWER on IntegriCloud