powerpc: Allow mem=x cmdline to work with 4G+
authorBecky Bruce <beckyb@kernel.crashing.org>
Fri, 8 May 2009 12:19:27 +0000 (12:19 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 May 2009 06:43:41 +0000 (16:43 +1000)
commit49a849652513235a244dfbf5e58c54f796bd1148
tree809fe33bad6255fab153fb5a7f03170150ab88c7
parent31207dab7d2e63795eb15823947bd2f7025b08e2
powerpc: Allow mem=x cmdline to work with 4G+

We're currently choking on mem=4g (and above) due to memory_limit
being specified as an unsigned long. Make memory_limit
phys_addr_t to fix this.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/system.h
arch/powerpc/kernel/machine_kexec.c
arch/powerpc/kernel/prom.c
arch/powerpc/mm/mem.c