|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Fix the non-PAE build.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1208443720 -3600
# Node ID d211ef6723ab9d4751b07a7b0c2a2715be77b9a1
# Parent e14fee5ecc80644f7a3a99ec264303e53ae3bd97
x86: Fix the non-PAE build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/drivers/passthrough/vtd/x86/vtd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff -r e14fee5ecc80 -r d211ef6723ab xen/drivers/passthrough/vtd/x86/vtd.c
--- a/xen/drivers/passthrough/vtd/x86/vtd.c Thu Apr 17 12:37:35 2008 +0100
+++ b/xen/drivers/passthrough/vtd/x86/vtd.c Thu Apr 17 15:48:40 2008 +0100
@@ -130,8 +130,6 @@ void iommu_set_pgd(struct domain *d)
{
struct hvm_iommu *hd = domain_hvm_iommu(d);
unsigned long p2m_table;
- int level = agaw_to_level(hd->agaw);
- l3_pgentry_t *l3e;
p2m_table = mfn_x(pagetable_get_mfn(d->arch.phys_table));
@@ -173,6 +171,8 @@ void iommu_set_pgd(struct domain *d)
int i;
u64 pmd_maddr;
unsigned long flags;
+ l3_pgentry_t *l3e;
+ int level = agaw_to_level(hd->agaw);
spin_lock_irqsave(&hd->mapping_lock, flags);
hd->pgd_maddr = alloc_pgtable_maddr();
@@ -236,6 +236,8 @@ void iommu_set_pgd(struct domain *d)
#elif CONFIG_PAGING_LEVELS == 4
mfn_t pgd_mfn;
+ l3_pgentry_t *l3e;
+ int level = agaw_to_level(hd->agaw);
switch ( level )
{
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: Fix the non-PAE build.,
Xen patchbot-unstable <=
|
|
|
|
|