Add x86 implementation of dma_declare_coherent_memory
A message that is not in the archive (sent off-list or not yet received): [email protected]
Review
Quoted 11 lines · Linux Kernel Mailing List
(quoted diff) +11
-0+void dma_release_declared_memory(struct device *dev) +{ + struct dma_coherent_mem *mem = dev->dma_mem; + + if(!mem) + return; + dev->dma_mem = NULL; + kfree(mem->bitmap); + kfree(mem); +} +EXPORT_SYMBOL(dma_release_declared_memory);
There seems to be an iounmap() call missing.
Or is it me who is missing something? :)
Jeff