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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux