On Fri, Apr 03, 2015 at 10:12:39AM -0700, Yinghai Lu wrote:
> Should we also delete this code, accounting E820_PRAM as ram,
along with
> the deletion of reserve_pmem() in this version?
should revert those end_of_ram change as attached.
This works fine for me:
Tested-by: Christoph Hellwig <hch(a)lst.de>
-static unsigned long __init e820_end_pfn(unsigned long limit_pfn)
+static unsigned long __init e820_end_pfn(unsigned long limit_pfn, unsigned type)
But I'd prefer not to re-add the argument here, it only obsfucates the
code.