aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/sched-if.h
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-11-26 10:07:57 +0000
committerKeir Fraser <keir@xen.org>2010-11-26 10:07:57 +0000
commit0bdb3ec667740cbf84fcf41d843f056b428ecdaa (patch)
treef361a5fd19df6be1fde1015d94681c4dd287e68b /xen/include/xen/sched-if.h
parentf8ce4ee5488b8fc075da75b442aa9f8b66ce99b4 (diff)
downloadxen-0bdb3ec667740cbf84fcf41d843f056b428ecdaa.tar.gz
xen-0bdb3ec667740cbf84fcf41d843f056b428ecdaa.tar.bz2
xen-0bdb3ec667740cbf84fcf41d843f056b428ecdaa.zip
cpupool: Simplify locking, use refcounts for cpupool liveness.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r--xen/include/xen/sched-if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h
index 3a7fbc4407..8006820284 100644
--- a/xen/include/xen/sched-if.h
+++ b/xen/include/xen/sched-if.h
@@ -133,6 +133,7 @@ struct cpupool
struct cpupool *next;
unsigned int n_dom;
struct scheduler *sched;
+ atomic_t refcnt;
};
#endif /* __XEN_SCHED_IF_H__ */