X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Frelocate_kernel_64.S;h=7a6f3b3be3cfcd9c071672e2275213c3c7715607;hp=4de8f5b3d476ca0aa544e025568cf00cb6c25ebb;hb=ff0c4ad2c3a75ccfe6adca916e50804eb45bb2d9;hpb=cd208bcc7cb0acd851e25c951ec2a9c14b084eab diff --git a/arch/x86/kernel/relocate_kernel_64.S b/arch/x86/kernel/relocate_kernel_64.S index 4de8f5b3d476..7a6f3b3be3cf 100644 --- a/arch/x86/kernel/relocate_kernel_64.S +++ b/arch/x86/kernel/relocate_kernel_64.S @@ -100,6 +100,8 @@ relocate_kernel: ret identity_mapped: + /* set return address to 0 if not preserving context */ + pushq $0 /* store the start address on the stack */ pushq %rdx