Re: ARM: Section mismatch warnings

From: Andrew Victor
Date: Mon May 28 2007 - 14:11:19 EST


hi Russell,

> > o-arm-ks8695/log.out:WARNING: arch/arm/mach-ks8695/built-in.o(.data+0x108):
> Section mismatch: reference to .init.text:micrel_pci_map_irq
> (after 'micrel_pci')
>
> If this platform can have PCI stuff hotplugged, then this is a problem.
> If it's fixed then it isn't - PCI IRQ routing will only be used at boot
> time. IOW, whether such a thing is a problem is conditional on the
> hardware/configuration which I'm not aware of.

The Micrel board doesn't support hotplugged PCI devices.
I guess other KS8695-based boards can have a PCI-to-Cardbus controller,
and that would need hotpluged PCI support.

But technically that function should probably not be marked as __init.
And "struct ks8695_pci_cfg" should be __initdata.

The PCI support for the KS8695 is not currently merged in mainline. So
I will fix this (if nobody has yet) once the PCI support goes in.


Regards,
Andrew Victor


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/