page_address not working

From: sidc7
Date: Tue Feb 24 2009 - 19:12:52 EST



I am using the function page_address to get the virtual address of a page
using its pointer. I am using kernel 2.6.24 and page_address has been
exported. However, when I make a call to page_address in my kernel module,
it does not allow me to use it, saying, "Implict declaration of
page_address".

Is there any other way, I can get the virtual address of a page from a
pointer to its structure

Thanks
SC
--
View this message in context: http://www.nabble.com/page_address-not-working-tp22193693p22193693.html
Sent from the linux-kernel mailing list archive at Nabble.com.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/