Messages in this thread Patch in this message | | | From | Yinghai Lu <> | Subject | [PATCH] x86: make e820_end return end_of_ram again for 64bit | Date | Wed, 9 Jul 2008 20:17:50 -0700 |
| |
even for 64bit system with less 4G, we can use fixmap to handle acpi sit near end of ram
change e820_end to e820_end_of_ram again? or e820_ram_pfn?
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
--- arch/x86/kernel/e820.c | 2 -- 1 file changed, 2 deletions(-)
Index: linux-2.6/arch/x86/kernel/e820.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/e820.c +++ linux-2.6/arch/x86/kernel/e820.c @@ -1066,10 +1066,8 @@ unsigned long __init e820_end(void) struct e820entry *ei = &e820.map[i]; unsigned long end_pfn; -#ifdef CONFIG_X86_32 if (ei->type != E820_RAM) continue; -#endif end_pfn = (ei->addr + ei->size) >> PAGE_SHIFT; if (end_pfn > last_pfn)
| |