From: Michael Ellerman Date: Fri, 29 Nov 2013 03:55:22 +0000 (+1100) Subject: powerpc: Fix build break with PPC_EARLY_DEBUG_BOOTX=y X-Git-Tag: v3.13-rc4~38^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d6f0c3ae609a73ce6753395daaab3204cd33918;p=pandora-kernel.git powerpc: Fix build break with PPC_EARLY_DEBUG_BOOTX=y A kernel configured with PPC_EARLY_DEBUG_BOOTX=y but PPC_PMAC=n and PPC_MAPLE=n will fail to link: btext.c:(.text+0x2d0fc): undefined reference to `.rmci_off' btext.c:(.text+0x2d214): undefined reference to `.rmci_on' Fix it by making the build of rmci_on/off() depend on PPC_EARLY_DEBUG_BOOTX, which also enable the only code that uses them. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed