Re: [PATCH] x86: make e820_end return end_of_ram again for 64bit

From: Ingo Molnar
Date: Thu Jul 10 2008 - 03:00:38 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> even for 64bit system with less 4G, we can use fixmap to handle acpi
> sit near end of ram

ok - applied to tip/x86/core - lets see whether Suresh's system now
works fine with this change.

> change e820_end to e820_end_of_ram again?
> or e820_ram_pfn?

i'd suggest e820_end_of_ram_pfn().

we now have symmetric behavior on 32-bit and 64-bit, e820_end() returns
the true end of RAM. (64-bit used to return the last PFN mentioned in
the e820 map - i.e. ACPI tables and other end of RAM items could have
been included)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/