how about using define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
or virt_to_phys () On Sat, Feb 8, 2014 at 1:32 AM, m silverstri <[email protected]> wrote: > Hi, > > If I have a struct dma_buf dma buffer, how can I the physical address? > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
