]> git.hungrycats.org Git - linux/commitdiff
[SPARC]: Add rtc_lock.
authorPete Zaitcev <zaitcev@redhat.com>
Wed, 19 Feb 2003 08:57:16 +0000 (00:57 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Wed, 19 Feb 2003 08:57:16 +0000 (00:57 -0800)
arch/sparc/kernel/sparc_ksyms.c
arch/sparc/kernel/time.c

index e198ca77e863c858173a9c6ac5017876e7f19d72..f31a846379e32e5bfb425012c78eb67ace44110d 100644 (file)
@@ -55,6 +55,8 @@
 #include <asm/a.out.h>
 #include <asm/io-unit.h>
 
+extern spinlock_t rtc_lock;
+
 struct poll {
        int fd;
        short events;
@@ -152,6 +154,7 @@ EXPORT_SYMBOL(__cpu_logical_map);
 
 EXPORT_SYMBOL(udelay);
 EXPORT_SYMBOL(ndelay);
+EXPORT_SYMBOL(rtc_lock);
 EXPORT_SYMBOL(mostek_lock);
 EXPORT_SYMBOL(mstk48t02_regs);
 #if CONFIG_SUN_AUXIO
index 43130a381cb79584de8f8c6977a4a8b4205cbe90..0254734f17455e5a0a00fb81dea9a1a0d2c9013a 100644 (file)
@@ -47,6 +47,7 @@ extern unsigned long wall_jiffies;
 
 u64 jiffies_64;
 
+spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED;
 enum sparc_clock_type sp_clock_typ;
 spinlock_t mostek_lock = SPIN_LOCK_UNLOCKED;
 unsigned long mstk48t02_regs = 0UL;