aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/rcupdate.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-08 10:31:47 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-08 10:31:47 +0100
commit8996e454310d4fa3f587b65ccfe57e366e68a204 (patch)
treecc54784d70d8cef67db4152d7812b116a1b1b760 /xen/common/rcupdate.c
parent488355d213f20832ee5699e136fbf957a97d5f5f (diff)
downloadxen-8996e454310d4fa3f587b65ccfe57e366e68a204.tar.gz
xen-8996e454310d4fa3f587b65ccfe57e366e68a204.tar.bz2
xen-8996e454310d4fa3f587b65ccfe57e366e68a204.zip
eliminate cpus_xyz()
Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/common/rcupdate.c')
-rw-r--r--xen/common/rcupdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/rcupdate.c b/xen/common/rcupdate.c
index b14612aff8..6e6483e100 100644
--- a/xen/common/rcupdate.c
+++ b/xen/common/rcupdate.c
@@ -121,7 +121,7 @@ static int rcu_barrier_action(void *_cpu_count)
*/
call_rcu(&data.head, rcu_barrier_callback);
- while ( atomic_read(data.cpu_count) != cpus_weight(cpu_online_map) )
+ while ( atomic_read(data.cpu_count) != num_online_cpus() )
{
process_pending_softirqs();
cpu_relax();