]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita83cd0d6a55c77c01d1ac76290859a0dc8b9605d
tree75035139e84aaeb5875c1197f29ae5a978470c4c
parent7c89bbb6ce802d8280f9268cdaf97ddfdbe58938
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