Re: [PATCH] x86_64 built-in command line

H. Peter Anvin
2006-08-01T03:47:46Z

Deepak Saxena wrote:
> On Jul 31 2006, at 12:14, Matt Mackall was caught saying:
>> Allow setting a command line at build time on x86_64. Compiled but not
>> tested.
>
> Can we just make this into a generic option and put the relevant strcpy
> (strcat) in init/main.c. We've supported a default in-kernel command line
> on ARM for sometime now and I think it would be best to just have a single
> implementation.
>

Yes on the generic option, no on putting it in init/main.c... on a lot
of architectures, some parsing of the command line happens *very* early,
sometimes even before the C code is invoked.

-hpa