]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Only export __mtdcr/__mfdcr if CONFIG_PPC_DCR is set
authorKumar Gala <galak@kernel.crashing.org>
Mon, 11 Dec 2006 05:15:47 +0000 (23:15 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 11 Dec 2006 05:15:47 +0000 (23:15 -0600)
commit36239a7a9c8279cc431a6a3eed2e2db0998ad6be
tree6884852ff83c8c8b7d09883783587e1db43ca9d4
parent129cc438bf2696a4e883ed309830c902c5906f44
[POWERPC] Only export __mtdcr/__mfdcr if CONFIG_PPC_DCR is set

On 85xx we don't build in dcr support because the core doesn't implement the
instructions.  This caused problems when building an 85xx kernel.  Additionally
made it so we only build __mtdcr/__mfdcr if we are CONFIG_PPC_DCR_NATIVE.

The 85xx build issue wasPointed out by Dai Haruki.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/sysdev/Makefile
include/asm-powerpc/dcr-native.h
include/asm-powerpc/dcr.h
include/asm-ppc/reg_booke.h