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.