ia64/xen-unstable

changeset 4106:c7af9ee33283

bitkeeper revision 1.1236.25.7 (42330132deNMlShMHnhiB6lqTUcESQ)

Fix VMX guest scheduling.
Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@viper.(none)
date Sat Mar 12 14:48:18 2005 +0000 (2005-03-12)
parents 2b9699a37f17
children db5a30a327e6 5a68bda6018b
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Fri Mar 11 17:10:51 2005 +0000
     1.2 +++ b/xen/arch/x86/domain.c	Sat Mar 12 14:48:18 2005 +0000
     1.3 @@ -765,7 +765,7 @@ void context_switch(struct exec_domain *
     1.4              __asm__ __volatile__ ("lgdt %0" : "=m" (*next_p->arch.gdt));
     1.5  
     1.6              __sti();
     1.7 -            return;
     1.8 +            goto done;
     1.9          }
    1.10  #endif
    1.11   
    1.12 @@ -810,6 +810,7 @@ void context_switch(struct exec_domain *
    1.13  
    1.14      switch_segments(stack_ec, prev_p, next_p);
    1.15  
    1.16 + done:
    1.17      /*
    1.18       * We do this late on because it doesn't need to be protected by the
    1.19       * schedule_lock, and because we want this to be the very last use of