commit | 81c386cc7f4c22b81ba94709d2d58754282ea05e | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Thu Jan 27 10:31:38 2011 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Feb 07 12:47:56 2011 +1100 |
tree | ec6f38c51a46e61480b3e53eb1e6ae01bd25c188 | |
parent | 8dbdea8444d303a772bceb1ba963f0e3273bfc5e [diff] |
powerpc: Fix pfn_valid() when memory starts at a non-zero address 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>