Re: m68k build failures in -next: undefined reference to `arch_dma_prep_coherent'
From: Christoph Hellwig
Date: Mon Jul 08 2019 - 16:38:41 EST
On Mon, Jul 08, 2019 at 10:37:33PM +0200, Christoph Hellwig wrote:
> On Mon, Jul 08, 2019 at 10:36:05PM +0200, Geert Uytterhoeven wrote:
> > Note that the build failure is more subtle: both m5307c3_defconfig and
> > m5475evb_defconfig build fine in m68k/for-linus, but fail in
> > next-20190708. So it fails when combined with other changes, going
> > in through a different tree (the DMA tree?).
>
> Yes, the dma tree adds the stub for the symbol and adds code relying
> on that.
If you give me an ack I can add the fix to the dma-mapping pull request.