kexec-bzImage64: support for loading bzImage using 64bit entry
authorVivek Goyal <vgoyal@redhat.com>
Fri, 8 Aug 2014 21:26:06 +0000 (14:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:33 +0000 (15:57 -0700)
commit27f48d3e633be23656a097baa3be336e04a82d84
tree8933767497b417ee532f63b9582734743eed8e41
parent12db5562e0352986a265841638482b84f3a6899b
kexec-bzImage64: support for loading bzImage using 64bit entry

This is loader specific code which can load bzImage and set it up for
64bit entry.  This does not take care of 32bit entry or real mode entry.

32bit mode entry can be implemented if somebody needs it.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Greg Kroah-Hartman <greg@kroah.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: WANG Chao <chaowang@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/kexec-bzimage64.h [new file with mode: 0644]
arch/x86/include/asm/kexec.h
arch/x86/kernel/Makefile
arch/x86/kernel/kexec-bzimage64.c [new file with mode: 0644]
arch/x86/kernel/machine_kexec_64.c
include/linux/kexec.h
kernel/kexec.c