From: Yinghai Lu Date: Thu, 24 Jan 2013 20:20:14 +0000 (-0800) Subject: x86, 64bit, mm: hibernate use generic mapping_init X-Git-Tag: v3.9-rc1~105^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b78c21d72d9dbcb7230e97423a2cd8d8402c20c;p=pandora-kernel.git x86, 64bit, mm: hibernate use generic mapping_init We should set mappings only for usable memory ranges under max_pfn Otherwise causes same problem that is fixed by x86, mm: Only direct map addresses that are marked as E820_RAM Make it only map range in pfn_mapped array. Signed-off-by: Yinghai Lu Link: http://lkml.kernel.org/r/1359058816-7615-34-git-send-email-yinghai@kernel.org Cc: Pavel Machek Cc: Rafael J. Wysocki Cc: linux-pm@vger.kernel.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed