From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: setup_arch/arch_get_boot_command_line changes Date: Wed, 10 Dec 2008 23:14:59 +1030 Message-ID: <200812102315.01416.rusty@rustcorp.com.au> References: <200812100850.26728.rusty@rustcorp.com.au> <20081209225931.GA7015@bombadil.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: Stephen Rothwell , linux-kernel@vger.kernel.org, dhowells@redhat.com, Richard Henderson , Russell King , Haavard Skinnemoen , Bryan Wu , Mikael Starvik , Yoshinori Sato , Tony Luck , Hirokazu Takata , Geert Uytterhoeven , Greg Ungerer , Ralf Baechle , linux-parisc@vger.kernel.org, Paul Mackerras , Heiko Carstens , Paul Mundt , "David S. Miller" , Jeff Dike , Ingo Molnar , Chris Zankel , Linus Torvalds To: Kyle McMartin Return-path: In-Reply-To: <20081209225931.GA7015@bombadil.infradead.org> List-ID: List-Id: linux-parisc.vger.kernel.org On Wednesday 10 December 2008 09:29:31 Kyle McMartin wrote: > On Wed, Dec 10, 2008 at 08:50:24AM +1030, Rusty Russell wrote: > > Rusty Russell (10): > > > > param: move banner printing to top of start_kernel. > > > > Will this not run afoul of lockdep since it will be attempting to take > locks before lockdep has initialized? Hmm, works for me here. But then, i386_start_kernel -> reserve_ebda_region ->printk already, so that banner is *still* not first line. > (as an aside, it would be nice if it came after setup_arch, since on > some horrible platforms, printk_time needs the fpu turned on for > (integer) division, but there's no arch hook before the first printk, so > one needs to hijack the start_kernel entrypoint...) That won't help much, since a failed kernel parameter parse will also call printk. I don't think it's sane to call start_kernel without the ability to do integer division! Rusty.