summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/xen/xenvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/xen/xenvar.h')
-rw-r--r--sys/i386/include/xen/xenvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/xen/xenvar.h b/sys/i386/include/xen/xenvar.h
index 137984d..b1a0a4d 100644
--- a/sys/i386/include/xen/xenvar.h
+++ b/sys/i386/include/xen/xenvar.h
@@ -93,7 +93,7 @@ extern xen_pfn_t *xen_machine_phys;
void xpq_init(void);
#define BITS_PER_LONG 32
-#define NR_CPUS MAX_VIRT_CPUS
+#define NR_CPUS XEN_LEGACY_MAX_VCPUS
#define BITS_TO_LONGS(bits) \
(((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
OpenPOWER on IntegriCloud