On Tue, 2014-07-08 at 14:02 +1000, Stephen Rothwell wrote: > Hi Joerg, > > After merging the iommu tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > arch/powerpc/platforms/built-in.o:(.opd+0x29e8): multiple definition of `iommu_device_destroy' > arch/powerpc/kernel/built-in.o:(.opd+0x5628): first defined here > arch/powerpc/platforms/built-in.o: In function `.iommu_device_unlink': > (.text+0x13240): multiple definition of `.iommu_device_unlink' > arch/powerpc/kernel/built-in.o:(.text+0x2b240): first defined here > arch/powerpc/platforms/built-in.o: In function `.iommu_device_create': > (.text+0x13210): multiple definition of `.iommu_device_create' > arch/powerpc/kernel/built-in.o:(.text+0x2b210): first defined here > arch/powerpc/platforms/built-in.o: In function `.iommu_device_destroy': > (.text+0x13220): multiple definition of `.iommu_device_destroy' > arch/powerpc/kernel/built-in.o:(.text+0x2b220): first defined here > arch/powerpc/platforms/built-in.o: In function `.iommu_device_link': > (.text+0x13230): multiple definition of `.iommu_device_link' > arch/powerpc/kernel/built-in.o:(.text+0x2b230): first defined here > arch/powerpc/platforms/built-in.o:(.opd+0x2a00): multiple definition of `iommu_device_link' > arch/powerpc/kernel/built-in.o:(.opd+0x5640): first defined here > arch/powerpc/platforms/built-in.o:(.opd+0x2a18): multiple definition of `iommu_device_unlink' > arch/powerpc/kernel/built-in.o:(.opd+0x5658): first defined here > arch/powerpc/platforms/built-in.o:(.opd+0x29d0): multiple definition of `iommu_device_create' > arch/powerpc/kernel/built-in.o:(.opd+0x5610): first defined here > > Caused by commit c61959ecbbc6 ("iommu: Add sysfs support for IOMMUs"). > CONFIG_IOMMU_API is not set for this build. Forgotten "static > inline"s :-( Yep, I already posted a patch for this: http://lists.linuxfoundation.org/pipermail/iommu/2014-July/009123.html Sorry for the trouble. Thanks, Alex -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html