kexec: move some memembers and definitions within the scope of CONFIG_KEXEC_FILE
authorXunlei Pang <xlpang@redhat.com>
Wed, 20 Jan 2016 23:00:36 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit978e30c9b46161c792ecdad0091fd017b21b8ca5
tree2b9f2190bf48d175be825f5d48743b8defb3aab8
parent2b24692b9235cb82b6f735b7a4c4137211ddf005
kexec: move some memembers and definitions within the scope of CONFIG_KEXEC_FILE

Move the stuff currently only used by the kexec file code within
CONFIG_KEXEC_FILE (and CONFIG_KEXEC_VERIFY_SIG).

Also move internal "struct kexec_sha_region" and "struct kexec_buf" into
"kexec_internal.h".

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Dave Young <dyoung@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/machine_kexec_64.c
include/linux/kexec.h
kernel/kexec_file.c
kernel/kexec_internal.h