Jan Beulich
2011-Oct-04 11:34 UTC
[Xen-devel] [PATCH] AMD-IOMMU: remove dead variable references
These got orphaned up by recent changes. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/drivers/passthrough/amd/pci_amd_iommu.c +++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c @@ -26,9 +26,6 @@ #include <asm/amd-iommu.h> #include <asm/hvm/svm/amd-iommu-proto.h> -extern bool_t __read_mostly opt_irq_perdev_vector_map; -extern bool_t __read_mostly iommu_amd_perdev_vector_map; - struct amd_iommu *find_iommu_for_device(int seg, int bdf) { struct ivrs_mappings *ivrs_mappings = get_ivrs_mappings(seg); --- a/xen/drivers/passthrough/iommu.c +++ b/xen/drivers/passthrough/iommu.c @@ -50,7 +50,6 @@ bool_t __read_mostly iommu_qinval = 1; bool_t __read_mostly iommu_intremap = 1; bool_t __read_mostly iommu_hap_pt_share = 1; bool_t __read_mostly iommu_debug; -bool_t __read_mostly iommu_amd_perdev_vector_map = 1; bool_t __read_mostly amd_iommu_perdev_intremap; static void __init parse_iommu_param(char *s) @@ -86,8 +85,6 @@ static void __init parse_iommu_param(cha iommu_dom0_strict = 1; else if ( !strcmp(s, "sharept") ) iommu_hap_pt_share = 1; - else if ( !strcmp(s, "no-perdev-vector-map") ) - iommu_amd_perdev_vector_map = 0; s = ss + 1; } while ( ss ); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2011-Oct-04 11:58 UTC
Re: [Xen-devel] [PATCH] AMD-IOMMU: remove dead variable references
On 04/10/2011 12:34, "Jan Beulich" <JBeulich@suse.com> wrote:> These got orphaned up by recent changes. > > Signed-off-by: Jan Beulich <jbeulich@suse.com>Acked-by: Keir Fraser <keir@xen.org>> --- a/xen/drivers/passthrough/amd/pci_amd_iommu.c > +++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c > @@ -26,9 +26,6 @@ > #include <asm/amd-iommu.h> > #include <asm/hvm/svm/amd-iommu-proto.h> > > -extern bool_t __read_mostly opt_irq_perdev_vector_map; > -extern bool_t __read_mostly iommu_amd_perdev_vector_map; > - > struct amd_iommu *find_iommu_for_device(int seg, int bdf) > { > struct ivrs_mappings *ivrs_mappings = get_ivrs_mappings(seg); > --- a/xen/drivers/passthrough/iommu.c > +++ b/xen/drivers/passthrough/iommu.c > @@ -50,7 +50,6 @@ bool_t __read_mostly iommu_qinval = 1; > bool_t __read_mostly iommu_intremap = 1; > bool_t __read_mostly iommu_hap_pt_share = 1; > bool_t __read_mostly iommu_debug; > -bool_t __read_mostly iommu_amd_perdev_vector_map = 1; > bool_t __read_mostly amd_iommu_perdev_intremap; > > static void __init parse_iommu_param(char *s) > @@ -86,8 +85,6 @@ static void __init parse_iommu_param(cha > iommu_dom0_strict = 1; > else if ( !strcmp(s, "sharept") ) > iommu_hap_pt_share = 1; > - else if ( !strcmp(s, "no-perdev-vector-map") ) > - iommu_amd_perdev_vector_map = 0; > > s = ss + 1; > } while ( ss ); > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel