powerpc: Fix pfn_valid() when memory starts at a non-zero address
authorScott Wood <scottwood@freescale.com>
Thu, 27 Jan 2011 10:31:38 +0000 (10:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 7 Feb 2011 01:47:56 +0000 (12:47 +1100)
max_mapnr is a pfn, not an index innto mem_map[].  So don't add
ARCH_PFN_OFFSET a second time.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found