Skip to content
Snippets Groups Projects
Commit 2ee7a4ef authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

MIPS: only select ARCH_HAS_UNCACHED_SEGMENT for non-coherent platforms


While mips might architecturally have the uncached segment all the time,
the infrastructure to use it is only need on platforms where DMA is
at least partially incoherent.  Only select it for those configuration
to fix a build failure as the arch_dma_prep_coherent symbol is also only
provided for non-coherent platforms.

Fixes: 2e96e04d ("MIPS: use the generic uncached segment support in dma-direct")
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarPaul Burton <paul.burton@mips.com>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent ff2437be
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment