[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] x86: Fix __prepare_to_wait() asm test for stack size



commit 6248dec1b4f69d26d1687ab9b3d0e87a81f10c42
Author:     Keir Fraser <keir@xxxxxxx>
AuthorDate: Thu May 2 21:04:08 2013 +0100
Commit:     Keir Fraser <keir@xxxxxxx>
CommitDate: Thu May 2 21:04:08 2013 +0100

    x86: Fix __prepare_to_wait() asm test for stack size
    
    Signed-off-by: Keir Fraser <keir@xxxxxxx>
---
 xen/common/wait.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/common/wait.c b/xen/common/wait.c
index 4d6924f..3c9366c 100644
--- a/xen/common/wait.c
+++ b/xen/common/wait.c
@@ -145,7 +145,7 @@ static void __prepare_to_wait(struct waitqueue_vcpu *wqv)
         "push %%rax; push %%rbx; push %%rdx; "
         "push %%rbp; push %%r8; push %%r9; push %%r10; push %%r11; "
         "push %%r12; push %%r13; push %%r14; push %%r15; call 1f; "
-        "1: addq $2f-1b,(%%rsp); sub %%esp,%%ecx; cmp %3,%%ecx; jbe 3f; "
+        "1: addq $2f-1b,(%%rsp); sub %%esp,%%ecx; cmp %3,%%ecx; ja 3f; "
         "mov %%rsp,%%rsi; 2: rep movsb; mov %%rsp,%%rsi; 3: pop %%rax; "
         "pop %%r15; pop %%r14; pop %%r13; pop %%r12; "
         "pop %%r11; pop %%r10; pop %%r9; pop %%r8; "
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.