From: Atsushi Nemoto Date: Tue, 26 Aug 2008 13:34:57 +0000 (+0900) Subject: [MIPS] Probe initrd header only if explicitly specified X-Git-Tag: v2.6.27-rc6~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0011036beeffeada15acd1936d67988de21ca65e;p=pandora-kernel.git [MIPS] Probe initrd header only if explicitly specified Currently init_initrd() probes initrd header at the last page of kernel image, but it is valid only if addinitrd was used. If addinitrd was not used, the area contains garbage so probing there might misdetect initrd header (magic number is not strictly robust). This patch introduces CONFIG_PROBE_INITRD_HEADER to explicitly enable this probing. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed