From: Catalin Marinas Date: Tue, 6 Oct 2009 16:57:22 +0000 (+0100) Subject: ARM: 5747/1: Fix the start_pg value in free_memmap() X-Git-Tag: v2.6.32-rc5~36^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3257f43d9296ed7adcc84e48f6ddf5313cf29266;p=pandora-kernel.git ARM: 5747/1: Fix the start_pg value in free_memmap() If sparsemem is enabled, the start_pfn passed to the free_memmap() function corresponds to an area of memory not known to the kernel and pfn_to_page returns a wrong value. The (start_pfn - 1), however, is known to the kernel. Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed