summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-10-12 10:52:27 +0300
committerChristoph Hellwig <hch@lst.de>2023-10-22 17:38:55 +0300
commit7a360df941a4bd60847208de59f1ac8b166265a2 (patch)
treeb7697b7e734e8c0af0d9ed4fac41e4a257d6e176 /samples
parentffd32a92b33b95771f63727560fa12c75191e705 (diff)
downloadlinux-7a360df941a4bd60847208de59f1ac8b166265a2.tar.xz
m68k: don't provide arch_dma_alloc for nommu/coldfire
Coldfire cores configured with a data cache can't provide coherent DMA allocations at all. Instead of returning non-coherent kernel memory in this case, return NULL and fail the allocation. The only driver that used to rely on the previous behavior (fec) has been switched to use non-coherent allocations for this case recently. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Greg Ungerer <gerg@linux-m68k.org> Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions