diff options
author | Scott Wood <scottwood@freescale.com> | 2011-01-27 10:31:38 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-02-07 12:47:56 +1100 |
commit | 81c386cc7f4c22b81ba94709d2d58754282ea05e (patch) | |
tree | ec6f38c51a46e61480b3e53eb1e6ae01bd25c188 /arch/powerpc/kernel | |
parent | 8dbdea8444d303a772bceb1ba963f0e3273bfc5e (diff) | |
download | talos-op-linux-81c386cc7f4c22b81ba94709d2d58754282ea05e.tar.gz talos-op-linux-81c386cc7f4c22b81ba94709d2d58754282ea05e.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions