summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-30 18:43:47 +0200
committerChristoph Hellwig <hch@lst.de>2019-07-03 15:29:52 -0700
commit2ee7a4ef98e309a1f496be2b0bf9307b5a7a31e5 (patch)
tree21e98a541d15b97840c0a33bb303e0c91f7a5aa6 /kernel
parentff2437befd8fe52046e0db949347b5bcfab6b097 (diff)
downloadlinux-2ee7a4ef98e309a1f496be2b0bf9307b5a7a31e5.tar.bz2
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: 2e96e04d25ca ("MIPS: use the generic uncached segment support in dma-direct") Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Paul Burton <paul.burton@mips.com> Tested-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions