powerpc: Fix memory limits when starting at a non-zero address
authorScott Wood <scottwood@freescale.com>
Thu, 27 Jan 2011 10:30:44 +0000 (10:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Mar 2011 05:56:15 +0000 (16:56 +1100)
commit6dd227002972be910c6191f38f8641e01796557f
tree2dbfe9ef7a95c0f95ea4938a9fa60d9e65c23165
parentc7704d352d45de47333f2d9f10aead820b49044c
powerpc: Fix memory limits when starting at a non-zero address

memblock_enforce_memory_limit() takes the desired maximum quantity of memory
to end up with, not an address above which memory will not be used.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom.c
arch/powerpc/mm/init_32.c