Skip to contentSkip to conversation

PPC: Fix compile error with e500 core

PATCH Applied Rojhalat Ibrahim 2 participants 2 messages Feb 9, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PPC: Fix compile error with e500 core

Hi,

this patch fixes a compile error with linux 2.6.20 configured for the mpc8548.

---

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