From: Jiang Liu Date: Mon, 6 Jan 2014 06:18:17 +0000 (+0800) Subject: iommu/vt-d, trivial: use defined macro instead of hardcoding X-Git-Tag: next-20140108~35^2^3~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c324fdd63d684a57f9605f4ecf3b5085c6b7d90c;p=karo-tx-linux.git 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 Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c index 10d3187e5fa0..fdf57534b76c 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; }