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>
This commit is contained in:
Becky Bruce
2009-05-08 12:19:27 +00:00
committed by Benjamin Herrenschmidt
parent 31207dab7d
commit 49a8496525
4 changed files with 8 additions and 8 deletions

View File

@ -57,7 +57,7 @@
int init_bootmem_done;
int mem_init_done;
unsigned long memory_limit;
phys_addr_t memory_limit;
#ifdef CONFIG_HIGHMEM
pte_t *kmap_pte;