diff options
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 5cf0aa993f4f..e4c5f951e68d 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -925,11 +925,11 @@ error_kernelspace: | |||
925 | iret run with kernel gs again, so don't set the user space flag. | 925 | iret run with kernel gs again, so don't set the user space flag. |
926 | B stepping K8s sometimes report an truncated RIP for IRET | 926 | B stepping K8s sometimes report an truncated RIP for IRET |
927 | exceptions returning to compat mode. Check for these here too. */ | 927 | exceptions returning to compat mode. Check for these here too. */ |
928 | leaq irq_return(%rip),%rbp | 928 | leaq irq_return(%rip),%rcx |
929 | cmpq %rbp,RIP(%rsp) | 929 | cmpq %rcx,RIP(%rsp) |
930 | je error_swapgs | 930 | je error_swapgs |
931 | movl %ebp,%ebp /* zero extend */ | 931 | movl %ecx,%ecx /* zero extend */ |
932 | cmpq %rbp,RIP(%rsp) | 932 | cmpq %rcx,RIP(%rsp) |
933 | je error_swapgs | 933 | je error_swapgs |
934 | cmpq $gs_change,RIP(%rsp) | 934 | cmpq $gs_change,RIP(%rsp) |
935 | je error_swapgs | 935 | je error_swapgs |