summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/xen
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2013-06-17 01:43:07 +0000
committergibbs <gibbs@FreeBSD.org>2013-06-17 01:43:07 +0000
commit16fc3a3c4b824ddbea8ec98084b5c4c061c0faba (patch)
tree13f2c59a8ea0d3689e9f23a152821f4f8f30ce9f /sys/i386/include/xen
parentfb29984476cf1994b460892bdd3357a016c3fc81 (diff)
downloadFreeBSD-src-16fc3a3c4b824ddbea8ec98084b5c4c061c0faba.zip
FreeBSD-src-16fc3a3c4b824ddbea8ec98084b5c4c061c0faba.tar.gz
Adjust i386 Xen PV support for updated Xen interface files.
sys/i386/include/xen/xenvar.h: sys/i386/xen/xen_machdep.c: sys/xen/interface/foreign/structs.py: sys/xen/evtchn/evtchn.c: MAX_VIRT_CPUS => XEN_LEGACY_MAX_VCPUS Submitted by: Roger Pau Monné Reviewed by: gibbs
Diffstat (limited to 'sys/i386/include/xen')
-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