]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitcd57d07b1e4e08f95a27b59253b5c8a46abf4f29
tree8d33e99707ca843df887efdf6a95341cfa213a4f
parent846f9e1fb9b9a2c4eecefa2fdbfb51e975a7d532
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