]> Git Repo - linux.git/commit
kexec: split kexec_file syscall code to kexec_file.c
authorDave Young <[email protected]>
Wed, 9 Sep 2015 22:38:51 +0000 (15:38 -0700)
committerLinus Torvalds <[email protected]>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commita43cac0d9dc2073ff2245a171429ddbe1accece7
tree2d4c4e98d70b12a451d5b790cc6a369c7eefe85b
parenta202fbbf56e819de83876827c4bf5da2bfbac5ec
kexec: split kexec_file syscall code to kexec_file.c

Split kexec_file syscall related code to another file kernel/kexec_file.c
so that the #ifdef CONFIG_KEXEC_FILE in kexec.c can be dropped.

Sharing variables and functions are moved to kernel/kexec_internal.h per
suggestion from Vivek and Petr.

[[email protected]: fix bisectability]
[[email protected]: declare the various arch_kexec functions]
[[email protected]: fix build]
Signed-off-by: Dave Young <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Petr Tesarik <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: Josh Boyer <[email protected]>
Cc: David Howells <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/kexec.h
kernel/Makefile
kernel/kexec.c
kernel/kexec_file.c [new file with mode: 0644]
kernel/kexec_internal.h [new file with mode: 0644]
This page took 0.058414 seconds and 4 git commands to generate.