summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel_irq_remapping.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2014-01-06 14:18:17 +0800
committerJoerg Roedel <joro@8bytes.org>2014-01-09 12:43:35 +0100
commit2fe2c6025d6a4939ae2fc97d1d761fc4a8d1abd9 (patch)
tree36e0cf9e7b88f191fee81d14b370eb8428f8e3c8 /drivers/iommu/intel_irq_remapping.c
parent694835dc227ad203886457aa447025d09b2f7523 (diff)
downloadop-kernel-dev-2fe2c6025d6a4939ae2fc97d1d761fc4a8d1abd9.zip
op-kernel-dev-2fe2c6025d6a4939ae2fc97d1d761fc4a8d1abd9.tar.gz
iommu/vt-d, trivial: use defined macro instead of hardcoding
Use defined macro instead of hardcoding in function set_ioapic_sid() for readability. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/intel_irq_remapping.c')
-rw-r--r--drivers/iommu/intel_irq_remapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c
index 10d3187..fdf5753 100644
--- a/drivers/iommu/intel_irq_remapping.c
+++ b/drivers/iommu/intel_irq_remapping.c
@@ -324,7 +324,7 @@ static int set_ioapic_sid(struct irte *irte, int apic)
return -1;
}
- set_irte_sid(irte, 1, 0, sid);
+ set_irte_sid(irte, SVT_VERIFY_SID_SQ, SQ_ALL_16, sid);
return 0;
}
OpenPOWER on IntegriCloud