[IA64] Pick highest possible saved_max_pfn for crash_dump
authorTony Luck <tony.luck@intel.com>
Thu, 8 Mar 2007 00:13:25 +0000 (16:13 -0800)
committerTony Luck <tony.luck@intel.com>
Thu, 8 Mar 2007 00:13:25 +0000 (16:13 -0800)
commite55fdf11f3029bcd41b1b9547ad9db12c27eea76
treee2bc7103b33e5a0505e3b3ca947990d47d04f350
parente253eb0c082e71082cc980a0c81582c2bc734605
[IA64] Pick highest possible saved_max_pfn for crash_dump

Berhhard Walle noted that on his HP rx8640 he ended up with saved_max_pfn
smaller than the highest address of system ram in /proc/iomem and proposed
a patch to base the address on the unrounded and unfiltered EFI memory
map address.  Simon Horman and Magnus Damm suggested that the whole test
be moved earlier in the function.  This is the combination of both of
these patches.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/efi.c