aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-10-12 09:52:27 +0200
committerChristoph Hellwig <[email protected]>2023-10-22 16:38:55 +0200
commit7a360df941a4bd60847208de59f1ac8b166265a2 (patch)
treeb7697b7e734e8c0af0d9ed4fac41e4a257d6e176 /net/switchdev/switchdev.c
parentffd32a92b33b95771f63727560fa12c75191e705 (diff)
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 <[email protected]> Reviewed-by: Greg Ungerer <[email protected]> Tested-by: Greg Ungerer <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions