aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/page.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-03-21 16:27:10 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:30 -0400
commit67794292c8615b05f46419ba8d4fd99e7c9a5db9 (patch)
tree8aacc17810552a9ecffa86b4a5f2cd8ec9a8f57f /include/asm-x86/page.h
parent7d1116a92d709c22e7db910724c9fcd2001b0499 (diff)
x86: replace the now useless max_pfn_mapped define
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/page.h')
-rw-r--r--include/asm-x86/page.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h
index b734939916c..6724a4bc6b7 100644
--- a/include/asm-x86/page.h
+++ b/include/asm-x86/page.h
@@ -33,10 +33,8 @@
33 33
34#ifdef CONFIG_X86_64 34#ifdef CONFIG_X86_64
35#include <asm/page_64.h> 35#include <asm/page_64.h>
36#define max_pfn_mapped end_pfn_map
37#else 36#else
38#include <asm/page_32.h> 37#include <asm/page_32.h>
39#define max_pfn_mapped end_pfn_map
40#endif /* CONFIG_X86_64 */ 38#endif /* CONFIG_X86_64 */
41 39
42#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) 40#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)
@@ -50,7 +48,7 @@
50 48
51extern int page_is_ram(unsigned long pagenr); 49extern int page_is_ram(unsigned long pagenr);
52 50
53extern unsigned long end_pfn_map; 51extern unsigned long max_pfn_mapped;
54 52
55struct page; 53struct page;
56 54