Section mismatches in the pcibios code

Jon Smirl jonsmirl at gmail.com
Fri Jan 2 14:33:01 EST 2009


What's up with these section mismatches? I tried fixing them be they
are very intertwined.

  LD      arch/powerpc/kernel/built-in.o
WARNING: arch/powerpc/kernel/built-in.o(.text+0x11efc): Section
mismatch in reference from the function
pcibios_allocate_bus_resources() to the function
.init.text:reparent_resources()
The function pcibios_allocate_bus_resources() references
the function __init reparent_resources().
This is often because pcibios_allocate_bus_resources lacks a __init
annotation or the annotation of reparent_resources is wrong.

WARNING: arch/powerpc/kernel/built-in.o(.text+0x11fa4): 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.

-- 
Jon Smirl
jonsmirl at gmail.com



More information about the Linuxppc-dev mailing list