[PATCH] PPC: Fix compile error with e500 core
Rojhalat Ibrahim
imr at rtschenk.de
Sat Feb 10 01:10:38 EST 2007
Hi,
this patch fixes a compile error with linux 2.6.20
configured for the mpc8548.
Signed-off-by: Rojhalat Ibrahim <imr at rtschenk.de>
---
diff -ur linux-2.6.20-orig/arch/ppc/kernel/ppc_ksyms.c
linux-2.6.20/arch/ppc/kernel/ppc_ksyms.c
--- linux-2.6.20-orig/arch/ppc/kernel/ppc_ksyms.c 2007-02-04
19:44:54.000000000 +0100
+++ linux-2.6.20/arch/ppc/kernel/ppc_ksyms.c 2007-02-09 14:44:15.000000000
+0100
@@ -270,7 +270,7 @@
extern long *intercept_table;
EXPORT_SYMBOL(intercept_table);
#endif /* CONFIG_PPC_STD_MMU */
-#if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
+#ifdef CONFIG_PPC_DCR_NATIVE
EXPORT_SYMBOL(__mtdcr);
EXPORT_SYMBOL(__mfdcr);
#endif
More information about the Linuxppc-embedded
mailing list