diff options
-rw-r--r-- | xen/common/domain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/common/domain.c b/xen/common/domain.c index 90f28cda92..b3a2e0ffa8 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -58,6 +58,8 @@ struct task_struct *do_createdomain(domid_t dom_id, unsigned int cpu) atomic_set(&p->refcnt, 1); + spin_lock_init(&p->mm.shadow_lock); + p->domain = dom_id; p->processor = cpu; p->create_time = NOW(); |