[PATCH] fix link errors when eeh is disabled

Stephen Rothwell sfr at canb.auug.org.au
Fri Mar 23 18:16:57 EST 2007


On Thu, 22 Mar 2007 23:14:07 +0100 Olaf Hering <olaf at aepfle.de> wrote:
>
> fix link errors with CONFIG_EEH=n
>
> arch/powerpc/platforms/built-in.o: In function `.pcibios_fixup_new_pci_devices':
> (.text+0x41c8): undefined reference to `.eeh_add_device_tree_late'
> arch/powerpc/platforms/built-in.o: In function `.init_phb_dynamic':
> (.text+0x4280): undefined reference to `.eeh_add_device_tree_early'
> arch/powerpc/platforms/built-in.o: In function `.pcibios_remove_pci_devices':
> (.text+0x42fc): undefined reference to `.eeh_remove_bus_device'
> arch/powerpc/platforms/built-in.o: In function `.pcibios_add_pci_devices':
> (.text+0x43c0): undefined reference to `.eeh_add_device_tree_early'
> arch/powerpc/platforms/built-in.o: In function `.pSeries_final_fixup':
> (.init.text+0xb4): undefined reference to `.pci_addr_cache_build'
> arch/powerpc/platforms/built-in.o: In function `.pSeries_setup_arch':
> setup.c:(.init.text+0x620): undefined reference to `.eeh_init'
> make[1]: *** [.tmp_vmlinux1] Error 1

This was partly fixed by commit bed59275810a55500e885cbdc5c2a0507f13c00e
in Paulus' powerpc tree.

--
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070323/ff7640ef/attachment.pgp>


More information about the Linuxppc-dev mailing list