]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/page_32.h
MM: virtual address debug
[linux-2.6-omap-h63xx.git] / include / asm-x86 / page_32.h
index 424e82f8ae272888d0a3faa73e23b56454b2fd66..9159bfb9dcf9194000470995354d48ef4b2acec2 100644 (file)
@@ -64,7 +64,8 @@ typedef struct page *pgtable_t;
 #endif
 
 #ifndef __ASSEMBLY__
-#define __phys_addr(x)         ((x) - PAGE_OFFSET)
+#define __phys_addr_const(x)   ((x) - PAGE_OFFSET)
+extern unsigned long __phys_addr(unsigned long);
 #define __phys_reloc_hide(x)   RELOC_HIDE((x), 0)
 
 #ifdef CONFIG_FLATMEM