Re: [RFC] switch m68k to use the generic remapping DMA allocator
From: Christoph Hellwig
Date: Tue Jun 25 2019 - 02:33:35 EST
On Mon, Jun 24, 2019 at 09:16:30AM +0200, Geert Uytterhoeven wrote:
> Doing
>
> - select DMA_DIRECT_REMAP if MMU && !COLDFIRE
> + select DMA_DIRECT_REMAP if MMU && !COLDFIRE && !SUN3
>
> in arch/m68k/Kconfig fixes the build.
>
> Alternatively, you could use:
>
> - select DMA_DIRECT_REMAP if MMU && !COLDFIRE
> + select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
The latter might be a little cleaner.