intel-iommu: kill off duplicate def of dmar_disabled
This is only used in dmar.c and intel-iommu.h, so dma_remapping.h seems like the appropriate place for it. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
Joerg Roedel
parent
a647dacbb1
commit
58fa7304a2
@@ -144,7 +144,6 @@ struct dmar_rmrr_unit {
|
|||||||
list_for_each_entry(rmrr, &dmar_rmrr_units, list)
|
list_for_each_entry(rmrr, &dmar_rmrr_units, list)
|
||||||
/* Intel DMAR initialization functions */
|
/* Intel DMAR initialization functions */
|
||||||
extern int intel_iommu_init(void);
|
extern int intel_iommu_init(void);
|
||||||
extern int dmar_disabled;
|
|
||||||
#else
|
#else
|
||||||
static inline int intel_iommu_init(void)
|
static inline int intel_iommu_init(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user