powerpc: Only use initrd_end as the limit for alloc_bottom if it's inside the RMO.
authorPaul Mackerras <paulus@samba.org>
Tue, 13 Dec 2011 17:54:13 +0000 (17:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Dec 2011 03:41:24 +0000 (14:41 +1100)
commit64968f60e73d7b3f9fca1ca5cd985d75b2cbca44
tree75035139e84aaeb5875c1197f29ae5a978470c4c
parentb206590c04a5ffde7d4348964d3b09b574555a66
powerpc: Only use initrd_end as the limit for alloc_bottom if it's inside the RMO.

As the kernels and initrd's get bigger boot-loaders and possibly
kexec-tools will need to place the initrd outside the RMO.  When this
happens we end up with no lowmem and the boot doesn't get very far.

Only use initrd_end as the limit for alloc_bottom if it's inside the
RMO.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom_init.c