From: Michael Ellerman Date: Thu, 31 Jul 2008 06:54:28 +0000 (+1000) Subject: powerpc: Fix /dev/oldmem interface for kdump X-Git-Tag: v2.6.27-rc4~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7230ced4925b07c259a62b515d8278c6bb1ad98c;p=pandora-kernel.git powerpc: Fix /dev/oldmem interface for kdump A change to __ioremap() broke reading /dev/oldmem because we're no longer able to ioremap pfn 0 (d177c207, "[PATCH] powerpc: IOMMU: don't ioremap null addresses"). We actually don't need to ioremap for anything that's part of the linear mapping, so just read it directly. Also make sure we're only reading one page or less at a time. Signed-off-by: Michael Ellerman Signed-off-by: Sachin Sant Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed