Commit bac33bd5 authored by Hirokazu Takata's avatar Hirokazu Takata

m32r: add rtc_lock variable

Add a spinlock variable "rtc_lock".
This is taken from arch/arm/kernel/time.c.
Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
parent d2c5821c
...@@ -33,6 +33,15 @@ ...@@ -33,6 +33,15 @@
#include <asm/hw_irq.h> #include <asm/hw_irq.h>
#if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE)
/* this needs a better home */
DEFINE_SPINLOCK(rtc_lock);
#ifdef CONFIG_RTC_DRV_CMOS_MODULE
EXPORT_SYMBOL(rtc_lock);
#endif
#endif /* pc-style 'CMOS' RTC support */
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
extern void smp_local_timer_interrupt(void); extern void smp_local_timer_interrupt(void);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment