linux-mips
[Top] [All Lists]

Patch: don't report rd found when none is there

To: linux-mips@oss.sgi.com
Subject: Patch: don't report rd found when none is there
From: Guido Guenther <guido.guenther@gmx.net>
Date: Thu, 23 Aug 2001 09:51:33 +0200
Cc: Ralf Baechle <ralf@uni-koblenz.de>
Mail-followup-to: linux-mips@oss.sgi.com, Ralf Baechle <ralf@uni-koblenz.de>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
The current code in a/m/k/setup.c assigns __rd_start & __rd_end to
initrd_start and initrd_end even when no ramdisk was added to the kernel
image. This gives an "Initial ramdisk at:...." message even though no
ramdisk is there. Attached patch fixes this. It furthermore prevents
initrd_{start,end} being overriden(in case it gets set somewhere in the
board specific code).
 -- Guido

Attachment: rd_found_2001-08-23.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>