diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-09 23:17:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-10 03:01:35 -0400 |
commit | 3d43ecd286e442792f2e899e6e06eb23ab3d99f6 (patch) | |
tree | 0349f5a02886ce6709fa3a0c4eb16909f78859eb /arch/x86/kernel/e820.c | |
parent | f34fa82b19581affffb14f8ad9bdad9b5ab4daf5 (diff) |
x86: make e820_end return end_of_ram again for 64bit
even on 64bit systems with less than 4G RAM, we can now 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>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r-- | arch/x86/kernel/e820.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 66fd5bd78318..9836a079cfd9 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c | |||
@@ -1066,10 +1066,8 @@ unsigned long __init e820_end(void) | |||
1066 | struct e820entry *ei = &e820.map[i]; | 1066 | struct e820entry *ei = &e820.map[i]; |
1067 | unsigned long end_pfn; | 1067 | unsigned long end_pfn; |
1068 | 1068 | ||
1069 | #ifdef CONFIG_X86_32 | ||
1070 | if (ei->type != E820_RAM) | 1069 | if (ei->type != E820_RAM) |
1071 | continue; | 1070 | continue; |
1072 | #endif | ||
1073 | 1071 | ||
1074 | end_pfn = (ei->addr + ei->size) >> PAGE_SHIFT; | 1072 | end_pfn = (ei->addr + ei->size) >> PAGE_SHIFT; |
1075 | if (end_pfn > last_pfn) | 1073 | if (end_pfn > last_pfn) |