Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161187AbXAZTDK (ORCPT ); Fri, 26 Jan 2007 14:03:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161180AbXAZTDK (ORCPT ); Fri, 26 Jan 2007 14:03:10 -0500 Received: from terminus.zytor.com ([192.83.249.54]:41179 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161187AbXAZTDJ (ORCPT ); Fri, 26 Jan 2007 14:03:09 -0500 Message-ID: <45BA5053.1070005@zytor.com> Date: Fri, 26 Jan 2007 11:02:43 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 1.5.0.9 (X11/20070102) MIME-Version: 1.0 To: Matt Mackall CC: Tim Bird , Andrew Morton , Paul Mundt , linux kernel Subject: Re: [PATCH] init: support preset lpj value as config option References: <45B7F5E2.4070800@am.sony.com> <20070125021847.GA7609@linux-sh.org> <45B8F5FB.6090704@am.sony.com> <20070126024411.4d4b6c2e.akpm@osdl.org> <45BA4884.4020205@am.sony.com> <20070126184628.GY10108@waste.org> In-Reply-To: <20070126184628.GY10108@waste.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1021 Lines: 26 Matt Mackall wrote: > > The idea was to allow putting something like "%s" in the built-in > command line and expanding that with the provided command line. This > allows you to append/prepend/ignore the provided command line as you > desire. > > This is a fair bit more complicated than what the existing > implementations of CONFIG_CMDLINE are doing and details like > early_cmdline handling don't help matters. Haven't yet come up with an > implementation I'm happy with. > Yes, and it's worth noting that with the edd stuff we actually parse the command line from real mode as well. One way to do it would be to construct the command line in real mode code. It's not really all that hard, but wouldn't work for those that jump directly to the PM entrypoint. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/