* Re: Add x86 implementation of dma_declare_coherent_memory [not found] <200408290606.i7T66G08009639@hera.kernel.org> @ 2004-08-29 7:30 ` Jeff Garzik 0 siblings, 0 replies; only message in thread From: Jeff Garzik @ 2004-08-29 7:30 UTC (permalink / raw) To: James.Bottomley; +Cc: Linux Kernel Mailing List Linux Kernel Mailing List wrote: > +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 ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-29 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200408290606.i7T66G08009639@hera.kernel.org>
2004-08-29 7:30 ` Add x86 implementation of dma_declare_coherent_memory Jeff Garzik
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox