diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-18 15:13:45 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-18 15:13:45 +0100 |
commit | 00c51c29c14611cdb4164fc64e89b6e7ad6c1df2 (patch) | |
tree | 4c4462e5d66a0bc71b12f669a3a3c9a17c682b1d /xen/common/rcupdate.c | |
parent | c12bbde846af61d1b8441da6c627181ccbc7a157 (diff) | |
download | xen-00c51c29c14611cdb4164fc64e89b6e7ad6c1df2.tar.gz xen-00c51c29c14611cdb4164fc64e89b6e7ad6c1df2.tar.bz2 xen-00c51c29c14611cdb4164fc64e89b6e7ad6c1df2.zip |
x86: Dynamically allocate percpu data area when a CPU comes online.
At the same time, the data area starts life zeroed.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/rcupdate.c')
-rw-r--r-- | xen/common/rcupdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/rcupdate.c b/xen/common/rcupdate.c index 827b8bd5ca..c8f44bb804 100644 --- a/xen/common/rcupdate.c +++ b/xen/common/rcupdate.c @@ -53,7 +53,7 @@ struct rcu_ctrlblk rcu_ctrlblk = { .cpumask = CPU_MASK_NONE, }; -DEFINE_PER_CPU(struct rcu_data, rcu_data) = { 0L }; +DEFINE_PER_CPU(struct rcu_data, rcu_data); static int blimit = 10; static int qhimark = 10000; |