diff options
author | Justin T. Gibbs <gibbs@FreeBSD.org> | 2013-06-17 01:43:07 +0000 |
---|---|---|
committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 2013-06-17 01:43:07 +0000 |
commit | 7efb63057385dfaec7612b3b44a70143bd95de65 (patch) | |
tree | 13f2c59a8ea0d3689e9f23a152821f4f8f30ce9f /sys/i386/xen/xen_machdep.c | |
parent | ebf0f88839ce0bafb6fa4fb244072019f39361b8 (diff) | |
download | src-7efb63057385dfaec7612b3b44a70143bd95de65.tar.gz src-7efb63057385dfaec7612b3b44a70143bd95de65.zip |
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
Notes
Notes:
svn path=/head/; revision=251824
Diffstat (limited to 'sys/i386/xen/xen_machdep.c')
-rw-r--r-- | sys/i386/xen/xen_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/xen/xen_machdep.c b/sys/i386/xen/xen_machdep.c index 3b3da6fdcb7f..9b5edd384cf9 100644 --- a/sys/i386/xen/xen_machdep.c +++ b/sys/i386/xen/xen_machdep.c @@ -203,11 +203,11 @@ struct mmu_log { #ifdef SMP /* per-cpu queues and indices */ #ifdef INVARIANTS -static struct mmu_log xpq_queue_log[MAX_VIRT_CPUS][XPQUEUE_SIZE]; +static struct mmu_log xpq_queue_log[XEN_LEGACY_MAX_VCPUS][XPQUEUE_SIZE]; #endif -static int xpq_idx[MAX_VIRT_CPUS]; -static mmu_update_t xpq_queue[MAX_VIRT_CPUS][XPQUEUE_SIZE]; +static int xpq_idx[XEN_LEGACY_MAX_VCPUS]; +static mmu_update_t xpq_queue[XEN_LEGACY_MAX_VCPUS][XPQUEUE_SIZE]; #define XPQ_QUEUE_LOG xpq_queue_log[vcpu] #define XPQ_QUEUE xpq_queue[vcpu] |