diff options
Diffstat (limited to 'include/asm-i386/page.h')
-rw-r--r-- | include/asm-i386/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h index 847dffbd0..2e5006f4a 100644 --- a/include/asm-i386/page.h +++ b/include/asm-i386/page.h @@ -101,6 +101,7 @@ typedef unsigned long pgprot_t; #define __pa(x) ((unsigned long)(x)-PAGE_OFFSET) #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) #define MAP_NR(addr) (__pa(addr) >> PAGE_SHIFT) +#define PHYSMAP_NR(addr) ((unsigned long)(addr) >> PAGE_SHIFT) #endif /* __KERNEL__ */ |