diff options
author | Rojhalat Ibrahim <imr@rtschenk.de> | 2007-02-09 09:10:38 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-02-09 10:36:37 -0500 |
commit | 862a7284980d809a583e9a34c774fab84e0a46f8 (patch) | |
tree | 021a5c277818f63a85d1cbecad69815bedce7174 | |
parent | 27630bec9478a2dd387c68b5e435ed3fdd3a513e (diff) |
[PPC] Fix compile error for e500 core based processors
We get the following compiler error:
CC arch/ppc/kernel/ppc_ksyms.o
arch/ppc/kernel/ppc_ksyms.c:275: error: '__mtdcr' undeclared here (not in a function)
arch/ppc/kernel/ppc_ksyms.c:275: warning: type defaults to 'int' in declaration of '__mtdcr'
arch/ppc/kernel/ppc_ksyms.c:276: error: '__mfdcr' undeclared here (not in a function)
arch/ppc/kernel/ppc_ksyms.c:276: warning: type defaults to 'int' in declaration of '__mfdcr'
make[1]: *** [arch/ppc/kernel/ppc_ksyms.o] Error 1
This is due to the EXPORT_SYMBOL for __mtdcr/__mfdcr not having the proper CONFIG protection
Signed-off-by: Rojhalat Ibrahim <imr@rtschenk.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/ppc/kernel/ppc_ksyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c index 1f49503317cb..1318b6f4c3df 100644 --- a/arch/ppc/kernel/ppc_ksyms.c +++ b/arch/ppc/kernel/ppc_ksyms.c | |||
@@ -271,7 +271,7 @@ EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ | |||
271 | extern long *intercept_table; | 271 | extern long *intercept_table; |
272 | EXPORT_SYMBOL(intercept_table); | 272 | EXPORT_SYMBOL(intercept_table); |
273 | #endif /* CONFIG_PPC_STD_MMU */ | 273 | #endif /* CONFIG_PPC_STD_MMU */ |
274 | #if defined(CONFIG_40x) || defined(CONFIG_BOOKE) | 274 | #ifdef CONFIG_PPC_DCR_NATIVE |
275 | EXPORT_SYMBOL(__mtdcr); | 275 | EXPORT_SYMBOL(__mtdcr); |
276 | EXPORT_SYMBOL(__mfdcr); | 276 | EXPORT_SYMBOL(__mfdcr); |
277 | #endif | 277 | #endif |