From 15299b5bb3e01759b05f59fc2aebbade46dc35cf Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Wed, 17 Apr 2013 10:57:28 +0000 Subject: xen, libxc: rename xenctl_cpumap to xenctl_bitmap More specifically: 1. replaces xenctl_cpumap with xenctl_bitmap 2. provides bitmap_to_xenctl_bitmap and the reverse; 3. re-implement cpumask_to_xenctl_bitmap with bitmap_to_xenctl_bitmap and the reverse; Other than #3, no functional changes. Interface only slightly afected. This is in preparation of introducing NUMA node-affinity maps. Signed-off-by: Dario Faggioli Acked-by: George Dunlap Acked-by: Juergen Gross Acked-by: Keir Fraser --- tools/tests/mce-test/tools/xen-mceinj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/tests') diff --git a/tools/tests/mce-test/tools/xen-mceinj.c b/tools/tests/mce-test/tools/xen-mceinj.c index b69c65dd8a..e3e62f7855 100644 --- a/tools/tests/mce-test/tools/xen-mceinj.c +++ b/tools/tests/mce-test/tools/xen-mceinj.c @@ -161,7 +161,7 @@ static int inject_cmci(xc_interface *xc_handle, int cpu_nr) mc.u.mc_inject_v2.flags |= XEN_MC_INJECT_CPU_BROADCAST; mc.u.mc_inject_v2.flags |= XEN_MC_INJECT_TYPE_CMCI; - mc.u.mc_inject_v2.cpumap.nr_cpus = nr_cpus; + mc.u.mc_inject_v2.cpumap.nr_bits = nr_cpus; return xc_mca_op(xc_handle, &mc); } -- cgit v1.2.3