]> git.baikalelectronics.ru Git - kernel.git/commit
sh: don't allow non-coherent DMA for NOMMU
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jul 2020 12:18:55 +0000 (14:18 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:17 +0000 (22:05 -0400)
commit7363ce94fbc4289c4e42820f17815a334988014a
tree8d33e99707ca843df887efdf6a95341cfa213a4f
parenta810b0bf9fafd3a7d7c429c9e3b8fce624c22b20
sh: don't allow non-coherent DMA for NOMMU

The code handling non-coherent DMA depends on being able to remap code
as non-cached.  But that can't be done without an MMU, so using this
option on NOMMU builds is broken.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/Kconfig