ia64: remove setting for saved_max_pfn
The only user of saved_max_pfn in ia64 is read_oldmem interface but we have removed that interface, so saved_max_pfn is now unneeded in ia64, and we needn't set it anymore. Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Cc: Matt Fleming <matt.fleming@intel.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Dave Hansen <dave@sr71.net> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
427fcd23b5
Коммит
eeb407a574
|
@ -1116,11 +1116,6 @@ efi_memmap_init(u64 *s, u64 *e)
|
|||
if (!is_memory_available(md))
|
||||
continue;
|
||||
|
||||
#ifdef CONFIG_CRASH_DUMP
|
||||
/* saved_max_pfn should ignore max_addr= command line arg */
|
||||
if (saved_max_pfn < (efi_md_end(md) >> PAGE_SHIFT))
|
||||
saved_max_pfn = (efi_md_end(md) >> PAGE_SHIFT);
|
||||
#endif
|
||||
/*
|
||||
* Round ends inward to granule boundaries
|
||||
* Give trimmings to uncached allocator
|
||||
|
|
Загрузка…
Ссылка в новой задаче