git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80ba46
)
powerpc: Fix build break with PPC_EARLY_DEBUG_BOOTX=y
author
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 29 Nov 2013 03:55:22 +0000
(14:55 +1100)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 10 Dec 2013 00:25:03 +0000
(11:25 +1100)
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 <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/misc_64.S
patch
|
blob
|
history
diff --cc
arch/powerpc/kernel/misc_64.S
Simple merge