From: David Gibson Date: Wed, 28 Feb 2007 03:12:29 +0000 (+1100) Subject: [POWERPC] Automatically lmb_reserve() initrd X-Git-Tag: v2.6.22-rc1~1109^2~208 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30437b3e743f33e9b68f813ca24e547aa9fcf7d7;p=pandora-kernel.git [POWERPC] Automatically lmb_reserve() initrd At present, when an initrd is passed to the kernel used flat device tree properties, the memory the initrd occupies must also be reserved in the flat tree's reserve map, or the kernel may overwrite it. That makes life more complicated than it could be for the bootwrapper. This patch makes the kernel automatically reserve the initrd's space. That in turn requires parsing the initrd parameters earlier than they are currently, in early_init_dt_scan_chosen() instead of check_for_initrd(). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed