kexec/i386: setup kexec page table in C
authorHuang Ying <ying.huang@intel.com>
Fri, 31 Oct 2008 01:48:15 +0000 (09:48 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 09:01:57 +0000 (10:01 +0100)
commit9868ee63b896ee4d2ceb8c292e88d7f4e66caaf9
tree688fff3c2f44fa260a3a05589fa8b7529ddc9fb8
parent92be3d6bdf2cb34972ab50e12ad4da1076e690da
kexec/i386: setup kexec page table in C

Impact: change the kexec bootstrap code implementation from assembly to C

This patch transforms the kexec page tables setup code from assembler
code to C code in machine_kexec_prepare. This improves readability and
reduces code line number.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/kexec.h
arch/x86/kernel/machine_kexec_32.c
arch/x86/kernel/relocate_kernel_32.S