[PATCH] ppc64: Add missing exports

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Jun 27 14:29:56 EST 2005


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.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Nick Piggin <nickpiggin at yahoo.com.au>

Index: linux-work/arch/ppc64/kernel/time.c
===================================================================
--- linux-work.orig/arch/ppc64/kernel/time.c	2005-06-27 12:08:53.000000000 +1000
+++ linux-work/arch/ppc64/kernel/time.c	2005-06-27 14:31:13.000000000 +1000
@@ -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;
 
Index: linux-work/arch/ppc64/kernel/ppc_ksyms.c
===================================================================
--- linux-work.orig/arch/ppc64/kernel/ppc_ksyms.c	2005-05-02 10:48:08.000000000 +1000
+++ linux-work/arch/ppc64/kernel/ppc_ksyms.c	2005-06-27 14:31:30.000000000 +1000
@@ -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






More information about the Linuxppc64-dev mailing list