summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-03-21 21:27:10 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:30 +0200
commit67794292c8615b05f46419ba8d4fd99e7c9a5db9 (patch)
tree8aacc17810552a9ecffa86b4a5f2cd8ec9a8f57f /arch/x86/kernel/setup_64.c
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 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index c6fe1e4bc7c2..413b8fc31545 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -347,7 +347,7 @@ void __init setup_arch(char **cmdline_p)
check_efer();
- init_memory_mapping(0, (end_pfn_map << PAGE_SHIFT));
+ init_memory_mapping(0, (max_pfn_mapped << PAGE_SHIFT));
if (efi_enabled)
efi_init();