aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/e820.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-25 01:14:09 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 07:10:38 -0400
commitc987d12f8455b19b3b057d63bac3de161bd809fc (patch)
treeeb42d14516ea0d24d023d00ed0100cbee42df28c /arch/x86/kernel/e820.c
parentf47f9d538ecc938bed589e9d39ad7b454f3b506c (diff)
x86: remove end_pfn in 64bit
and use max_pfn directly. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r--arch/x86/kernel/e820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
index 1b76b25b4d9a..3900ff51bc68 100644
--- a/arch/x86/kernel/e820.c
+++ b/arch/x86/kernel/e820.c
@@ -527,7 +527,7 @@ __init void e820_setup_gap(void)
527 527
528#ifdef CONFIG_X86_64 528#ifdef CONFIG_X86_64
529 if (!found) { 529 if (!found) {
530 gapstart = (end_pfn << PAGE_SHIFT) + 1024*1024; 530 gapstart = (max_pfn << PAGE_SHIFT) + 1024*1024;
531 printk(KERN_ERR "PCI: Warning: Cannot find a gap in the 32bit " 531 printk(KERN_ERR "PCI: Warning: Cannot find a gap in the 32bit "
532 "address range\n" 532 "address range\n"
533 KERN_ERR "PCI: Unassigned devices with 32bit resource " 533 KERN_ERR "PCI: Unassigned devices with 32bit resource "