page_address not working
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
Signature · 2 lines
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.
Quoted 1 line · On 25.2.2009 01:12, sidc7 wrote:
"Implict declaration of
page_address".
Do you have
#include <linux/mm.h>
in there?