]> git.itanic.dy.fi Git - linux-stable/commit
Fix compile error for e500 core based processors
authorRojhalat Ibrahim <imr@rtschenk.de>
Fri, 9 Feb 2007 15:39:57 +0000 (09:39 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:20 +0000 (10:50 -0800)
commitdb1d08c5da99d6224dcd68ea9d69ed3b14b0dae3
treef05d5c83812bbeb8fd48aff8537e42f323af2a9d
parentbf6c995d1541c8513876158a5550799ae7cd39fe
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ppc/kernel/ppc_ksyms.c