ia64/xen-unstable
changeset 3676:4ba67049f771
bitkeeper revision 1.1159.212.99 (4204e978S7U_CKee_ItjbGQ8Ezbw3A)
Another scheduler fix for prev. manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
Another scheduler fix for prev. manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Sat Feb 05 15:42:48 2005 +0000 (2005-02-05) |
parents | 32959ed5fef3 |
children | d93748c50893 |
files | xen/common/schedule.c |
line diff
1.1 --- a/xen/common/schedule.c Sat Feb 05 15:35:15 2005 +0000 1.2 +++ b/xen/common/schedule.c Sat Feb 05 15:42:48 2005 +0000 1.3 @@ -422,11 +422,11 @@ void __enter_scheduler(void) 1.4 1.5 perfc_incrc(sched_ctx); 1.6 1.7 - if ( !is_idle_task(current->domain) ) 1.8 + if ( !is_idle_task(prev->domain) ) 1.9 { 1.10 - LOCK_BIGLOCK(current->domain); 1.11 + LOCK_BIGLOCK(prev->domain); 1.12 cleanup_writable_pagetable(prev->domain); 1.13 - UNLOCK_BIGLOCK(current->domain); 1.14 + UNLOCK_BIGLOCK(prev->domain); 1.15 } 1.16 1.17 #if defined(WAKE_HISTO)