Re: [PATCH] x86_64 built-in command line

From: H. Peter Anvin
Date: Mon Jul 31 2006 - 23:45:38 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/