Skip to contentSkip to conversation

ppc64: Add missing exports

PATCH New Benjamin Herrenschmidt 1 participant 1 message Jun 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc64: Add missing exports

Hi !

This patch adds a couple of missing symbol exports. flush_dcache_page is used by the AGP driver and rtc_lock by the RTC driver.

arch/ppc64/kernel/time.c +2 -1
Index: linux-work/arch/ppc64/kernel/time.c
===================================================================
@@ -91,7 +91,8 @@
 unsigned      tb_to_us;
 unsigned long processor_freq;
 DEFINE_SPINLOCK(rtc_lock);
-
+EXPORT_SYMBOL_GPL(rtc_lock);
+ 
 unsigned long tb_to_ns_scale;
 unsigned long tb_to_ns_shift;
 
arch/ppc64/kernel/ppc_ksyms.c +1 -0
Index: linux-work/arch/ppc64/kernel/ppc_ksyms.c
===================================================================
@@ -75,6 +75,7 @@
 EXPORT_SYMBOL(giveup_altivec);
 #endif
 EXPORT_SYMBOL(__flush_icache_range);
+EXPORT_SYMBOL(flush_dcache_range);
 
 #ifdef CONFIG_SMP
 #ifdef CONFIG_PPC_ISERIES