[PPC] Fix compile error for e500 core based processors
authorRojhalat Ibrahim <imr@rtschenk.de>
Fri, 9 Feb 2007 14:10:38 +0000 (15:10 +0100)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 9 Feb 2007 15:36:37 +0000 (09:36 -0600)
commit862a7284980d809a583e9a34c774fab84e0a46f8
tree021a5c277818f63a85d1cbecad69815bedce7174
parent27630bec9478a2dd387c68b5e435ed3fdd3a513e
[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>
arch/ppc/kernel/ppc_ksyms.c