https://github.com/torvalds/linux
Revision 0011036beeffeada15acd1936d67988de21ca65e authored by Atsushi Nemoto on 26 August 2008, 13:34:57 UTC, committed by Ralf Baechle on 05 September 2008, 20:24:12 UTC
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 <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 3885ec8
History
Tip revision: 0011036beeffeada15acd1936d67988de21ca65e authored by Atsushi Nemoto on 26 August 2008, 13:34:57 UTC
[MIPS] Probe initrd header only if explicitly specified
Tip revision: 0011036
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.8 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top