[IA64] point saved_max_pfn to the max_pfn of the entire system
authorHorms <horms@verge.net.au>
Tue, 6 Mar 2007 10:34:21 +0000 (02:34 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 6 Mar 2007 22:47:54 +0000 (14:47 -0800)
commitf4a570997e71b892805a1e71303d09c327af135f
tree9fe577e7b97ee7365481489f1c263aa1f868e199
parent25667d675454f2cd258c5fa798a2281af1ef2ae9
[IA64] point saved_max_pfn to the max_pfn of the entire system

Make saved_max_pfn point to max_pfn of entire system.

Without this patch is so that vmcore is zero length on ia64.  This is
because saved_max_pfn was wrongly being set to the max_pfn of the crash
kernel's address space, rather than the max_pfg on the physical memory of
the machine - the whole purpose of vmcore is to access physical memory that
is not part of the crash kernel's addresss space.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Sort-Of-Acked-By: Jay Lan <jlan@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/efi.c
arch/ia64/mm/contig.c
arch/ia64/mm/discontig.c