[PATCH] ppc64: Add missing exports

From: Benjamin Herrenschmidt
Date: Sun Jun 26 2005 - 23:37:13 EST


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@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Nick Piggin <nickpiggin@xxxxxxxxxxxx>

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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/