]> git.baikalelectronics.ru Git - kernel.git/commit
kexec_file, x86: move re-factored code to generic side
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 13 Apr 2018 22:36:06 +0000 (15:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Apr 2018 00:10:27 +0000 (17:10 -0700)
commitbabac4a84a88842bec477a5bdada1460f3bc374c
tree88e84c21942b051c2dfe941cadb8d8cdb4aa7ec0
parenteb7dae947ef5c50e0121f673fcb43ca3583e5849
kexec_file, x86: move re-factored code to generic side

In the previous patches, commonly-used routines, exclude_mem_range() and
prepare_elf64_headers(), were carved out.  Now place them in kexec
common code.  A prefix "crash_" is given to each of their names to avoid
possible name collisions.

Link: http://lkml.kernel.org/r/20180306102303.9063-8-takahiro.akashi@linaro.org
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Acked-by: Dave Young <dyoung@redhat.com>
Tested-by: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/crash.c
include/linux/kexec.h
kernel/kexec_file.c