[PATCH] kexec: i386: Add cmdline_add_memmap_internal() to reduce the code duplication

Simon Horman horms at verge.net.au
Thu Mar 28 23:47:57 EDT 2013


On Thu, Mar 28, 2013 at 09:09:59PM +0800, Zhang Yanfei wrote:
> From: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
> 
> Functions:
> - cmdline_add_memmap()
> - cmdline_add_memmap_acpi()
> - cmdline_add_memmap_reserved()
> is kind of similar, So add a new function cmdline_add_memmap_internal() to
> hold the common codes, reducing the duplication.
> 
> Signed-off-by: Zhang Yanfei <zhangyanfei at cn.fujitsu.com>
> ---
>  kexec/arch/i386/crashdump-x86.c |   74 +++++++++++++++++---------------------
>  1 files changed, 33 insertions(+), 41 deletions(-)

Thanks, applied.



More information about the kexec mailing list