From: Keir Fraser Date: Tue, 16 Nov 2010 11:28:33 +0000 (+0000) Subject: amd iommu: Fix HV crash with 32bit pv_ops kernel X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11254 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7118250f935b39a2df5d27be61c1484b087ed823;p=xen.git amd iommu: Fix HV crash with 32bit pv_ops kernel Signed-off-by: Wei Wang Tested-by: Conny Seidel --- diff --git a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h index e2795f52cf..e414b1446f 100644 --- a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h +++ b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h @@ -31,9 +31,6 @@ #define DMA_32BIT_MASK 0x00000000ffffffffULL -extern int amd_iommu_debug; -extern int amd_iommu_perdev_intremap; - #define AMD_IOMMU_DEBUG(fmt, args...) \ do \ { \ diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 003fd7625d..f516bcca16 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -30,6 +30,8 @@ extern bool_t iommu_enabled; extern bool_t force_iommu, iommu_verbose; extern bool_t iommu_workaround_bios_bug, iommu_passthrough; extern bool_t iommu_snoop, iommu_qinval, iommu_intremap; +extern bool_t amd_iommu_debug; +extern bool_t amd_iommu_perdev_intremap; extern struct rangeset *mmio_ro_ranges;