[PATCH] kexec: sh: Fixed command line management.

Simon Horman horms at verge.net.au
Mon Sep 5 18:29:40 EDT 2011

On Mon, Sep 05, 2011 at 05:02:24PM +0200, Angelo CASTELLO wrote:
> This fixes the command line management to be rightly used by
> elf-sh and zImage-sh type formats. Basically, the issue was on use
> of --append option for both set and append the STRING at the cmdline.
> With this patch we correctly manage the cmdline by means of:
>   --append=STRING           Append STRING to the current kernel command line
>   --command-line=STRING     Set the kernel command line to STRING
> Kexec by default gets and runs new kernel using the current
> kernel command line. Running kexec -h you will see its default options.

Hi Angelo,

I don't believe that the changes to the processing of command-line
that you have made are consistent with the implementation on
other architectures.

More information about the kexec mailing list