Hi Jacky,

On Oct 20, 2011 6:32 PM, "Jacky Lam" <[email protected]> wrote:
>
> Hi,
>
>     Is there any generic way to get  the physical address of memory
> (first page) allocated by vmalloc()?

PFN_PHYS( vmalloc_to_pfn( address ))

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to