Created attachment 21195 [details] config for 2.6.29.2 I have seen this section mismatch using 2.6.29.2 vanilla and recent git (around 2.6.30-rc4 right now). 2.6.28.y does not exhibit this problem. The following warning appears during this build. This is copied from my build log for 2.6.29.2, but the same message appears in linux-2.6.git. LD arch/powerpc/kernel/built-in.o WARNING: arch/powerpc/kernel/built-in.o(.text+0x1217c): Section mismatch in reference from the function pcibios_finish_adding_to_bus() to the function .devinit.text:pcibios_claim_one_bus() The function pcibios_finish_adding_to_bus() references the function __devinit pcibios_claim_one_bus(). This is often because pcibios_finish_adding_to_bus lacks a __devinit annotation or the annotation of pcibios_claim_one_bus is wrong.
Created attachment 21196 [details] pcibios_finish_adding_to_bus_devinit.patch Patch to add __devinit
That appears to then break the rpadlpar_core driver code...
(reassigning as this looks like a real bug)
A fix for this is included in the powerpc-next tree: http://git.kernel.org/?p=linux/kernel/git/benh/powerpc.git;a=commit;h=baf75b0a42a1b3f6fca80f8949b6141eaff61b0d