+14
−18
Loading
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 <hch@lst.de> Tested-by:
Dillon Min <dillon.minfei@gmail.com>