From: Brian Gerst Date: Tue, 3 Nov 2009 19:02:05 +0000 (-0500) Subject: x86, 64-bit: Fix bstep_iret jump X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=97829de5a3b88899c5f3ac8802d11868bf4180ba;p=linux-beck.git x86, 64-bit: Fix bstep_iret jump This jump should be unconditional. Signed-off-by: Brian Gerst LKML-Reference: <1257274925-15713-1-git-send-email-brgerst@gmail.com> Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index af0f4b226dbe..1579a6c59cfd 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S @@ -1501,7 +1501,7 @@ error_kernelspace: bstep_iret: /* Fix truncated RIP */ movq %rcx,RIP+8(%rsp) - je error_swapgs + jmp error_swapgs END(error_entry)