From: Santosh Shilimkar Date: Sat, 23 Nov 2013 19:36:42 +0000 (-0500) Subject: ARM: mm: Fix max_mapnr with recent max*pfn updates X-Git-Tag: v3.14-rc1~116^2^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ba41f28f7fe147c23bfadf6280b3492c9696b1;p=pandora-kernel.git ARM: mm: Fix max_mapnr with recent max*pfn updates With commit 26ba47b1 {ARM: 7805/1: mm: change max*pfn to include the physical offset of memory}, the max_pfn already contain PHYS_PFN_OFFSET, so it shouldn't be taken into account again. While at it, use use set_max_mapnr() helper. Cc: Russell King Cc: Catalin Marinas Cc: Nicolas Pitre Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- Reading git-diff-tree failed