diff options
| -rw-r--r-- | arch/x86/entry/entry_64.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index 9b114675fbc0..e237913a056b 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S | |||
| @@ -908,7 +908,7 @@ ENTRY(\sym) | |||
| 908 | pushq $-1 /* ORIG_RAX: no syscall to restart */ | 908 | pushq $-1 /* ORIG_RAX: no syscall to restart */ |
| 909 | .endif | 909 | .endif |
| 910 | 910 | ||
| 911 | .if \paranoid < 2 | 911 | .if \paranoid == 1 |
| 912 | testb $3, CS-ORIG_RAX(%rsp) /* If coming from userspace, switch stacks */ | 912 | testb $3, CS-ORIG_RAX(%rsp) /* If coming from userspace, switch stacks */ |
| 913 | jnz .Lfrom_usermode_switch_stack_\@ | 913 | jnz .Lfrom_usermode_switch_stack_\@ |
| 914 | .endif | 914 | .endif |
| @@ -955,7 +955,7 @@ ENTRY(\sym) | |||
| 955 | jmp error_exit | 955 | jmp error_exit |
| 956 | .endif | 956 | .endif |
| 957 | 957 | ||
| 958 | .if \paranoid < 2 | 958 | .if \paranoid == 1 |
| 959 | /* | 959 | /* |
| 960 | * Entry from userspace. Switch stacks and treat it | 960 | * Entry from userspace. Switch stacks and treat it |
| 961 | * as a normal entry. This means that paranoid handlers | 961 | * as a normal entry. This means that paranoid handlers |
