ia64/xen-unstable

changeset 1376:a3dd7bf2fcd6

bitkeeper revision 1.902 (40a34b40gzZ-ypwQ3HUMqdzjtQqqfQ)

domain.c:
init shadow page table spin lock earlier
author iap10@labyrinth.cl.cam.ac.uk
date Thu May 13 10:17:36 2004 +0000 (2004-05-13)
parents 6cf25fb7eebd
children acc04d188782
files xen/common/domain.c
line diff
     1.1 --- a/xen/common/domain.c	Wed May 12 14:41:15 2004 +0000
     1.2 +++ b/xen/common/domain.c	Thu May 13 10:17:36 2004 +0000
     1.3 @@ -58,6 +58,8 @@ struct task_struct *do_createdomain(domi
     1.4  
     1.5      atomic_set(&p->refcnt, 1);
     1.6  
     1.7 +    spin_lock_init(&p->mm.shadow_lock);
     1.8 +
     1.9      p->domain    = dom_id;
    1.10      p->processor = cpu;
    1.11      p->create_time = NOW();