[POWERPC] Fix BootX booting with an initrd
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 23 Aug 2006 01:45:12 +0000 (11:45 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 23 Aug 2006 05:51:18 +0000 (15:51 +1000)
commit6cdd2bdfb9e2449f1c8a0f729cdf9cfd733dd63f
tree49b7507b83c82c26f2f0ab5bd1833460b3baac28
parent5db9fa9593e2ff69f2b95f9d59229dc4faaa564d
[POWERPC] Fix BootX booting with an initrd

The bootx_init.c trampoline didn't properly add the ramdisk to the
"reserve map" (list of reserved areas of memory), thus causing all sorts
of failures when using BootX with an initrd. Also fixes a possible
problem if the ramdisk is located before the device-tree passed by
BootX.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/bootx_init.c