summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/page.h')
-rw-r--r--include/asm-x86/page.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h
index a05b289..b734939 100644
--- a/include/asm-x86/page.h
+++ b/include/asm-x86/page.h
@@ -36,7 +36,7 @@
#define max_pfn_mapped end_pfn_map
#else
#include <asm/page_32.h>
-#define max_pfn_mapped max_low_pfn
+#define max_pfn_mapped end_pfn_map
#endif /* CONFIG_X86_64 */
#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)
@@ -50,6 +50,8 @@
extern int page_is_ram(unsigned long pagenr);
+extern unsigned long end_pfn_map;
+
struct page;
static inline void clear_user_page(void *page, unsigned long vaddr,
OpenPOWER on IntegriCloud