ntdll: Fix stack adjustment condition in call_user_exception_dispatcher on x86_64.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-07-09 19:31:58 +03:00 committed by Alexandre Julliard
parent e722660114
commit 095b0f5acc
1 changed files with 1 additions and 1 deletions

View File

@ -2003,7 +2003,7 @@ __ASM_GLOBAL_FUNC( call_user_exception_dispatcher,
"movq 0x98(%rdx),%r9\n\t" /* context->Rsp */
"andq $~0xf,%r9\n\t"
"subq $0x630,%r9\n\t" /* sizeof(struct stack_layout) */
"cmpq %r9,%rsp\n\t"
"cmpq %rsp,%r9\n\t"
"cmovbq %r9,%rsp\n\t"
"jmp " __ASM_NAME("do_call_user_exception_dispatcher") "\n\t")