aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-10-21 09:23:05 +0200
committerJan Beulich <jbeulich@suse.com>2011-10-21 09:23:05 +0200
commit478be8dd49c707d994c0831a675aaceae6eb3e4d (patch)
treee3c2ad0dbb910c58fce5f7600a512135b33f0f73 /xen/include/asm-x86/smp.h
parentfabfdefe2a125587b2cdfe3466a25f1456fbf8bc (diff)
downloadxen-478be8dd49c707d994c0831a675aaceae6eb3e4d.tar.gz
xen-478be8dd49c707d994c0831a675aaceae6eb3e4d.tar.bz2
xen-478be8dd49c707d994c0831a675aaceae6eb3e4d.zip
allocate CPU sibling and core maps dynamically
... thus reducing the per-CPU data area size back to one page even when building for large NR_CPUS. At once eliminate the old __cpu{mask,list}_scnprintf() helpers. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/smp.h')
-rw-r--r--xen/include/asm-x86/smp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h
index ba8fa8aeab..f8caff292d 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -25,8 +25,8 @@
*/
extern void smp_alloc_memory(void);
-DECLARE_PER_CPU(cpumask_t, cpu_sibling_map);
-DECLARE_PER_CPU(cpumask_t, cpu_core_map);
+DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_mask);
+DECLARE_PER_CPU(cpumask_var_t, cpu_core_mask);
void smp_send_nmi_allbutself(void);