X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fx86_64%2Fkernel%2Fmachine_kexec.c;h=347387814268b48f05a961da15403c7ba2b3039c;hb=3ec04f3d2903fdf6d9849a8633af59b8628164a5;hp=974d2352b1cb33493590e8fc26dfdc942bd1c1b8;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/arch/x86_64/kernel/machine_kexec.c b/arch/x86_64/kernel/machine_kexec.c index 974d2352b..347387814 100644 --- a/arch/x86_64/kernel/machine_kexec.c +++ b/arch/x86_64/kernel/machine_kexec.c @@ -218,7 +218,7 @@ void machine_kexec(struct kimage *image) * as that will happen when I fully switch to my identity mapped * page table anyway. */ -// memcpy(current->active_mm->pml4, __va(start_pgtable), PAGE_SIZE/2); + memcpy((void *)read_pda(level4_pgt), __va(start_pgtable), PAGE_SIZE/2); __flush_tlb();