aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-06-23 14:05:05 +0000
committerChristoph Hellwig <[email protected]>2021-08-18 14:24:11 +0000
commit39a2d3506b2d53c569a6db13d65b2f3728c4feec (patch)
treea28837a98a67beafc9ee020795ffc2d8efe0d107 /lib/netdev-notifier-error-inject.c
parentdma-mapping: simplify dma_init_coherent_memory (diff)
downloadkernel-39a2d3506b2d53c569a6db13d65b2f3728c4feec.tar.gz
kernel-39a2d3506b2d53c569a6db13d65b2f3728c4feec.zip
dma-mapping: add a dma_init_global_coherent helper
Add a new helper to initialize the global coherent pool. This both cleans up the existing initialization which indirects through the reserved_mem_ops that are normally only used for struct device, and also allows using the global pool for non-devicetree architectures. Signed-off-by: Christoph Hellwig <[email protected]> Tested-by: Dillon Min <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions