• Olaf Hering's avatar
    [POWERPC] Fix link errors when EEH is disabled · c3b9d9ab
    Olaf Hering authored
    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'
    make[1]: *** [.tmp_vmlinux1] Error 1
    Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    c3b9d9ab
pci_dlpar.c 5.48 KB