Commit 2fe2c602 authored by Jiang Liu's avatar Jiang Liu Committed by Joerg Roedel

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: default avatarJiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: default avatarJoerg Roedel <joro@8bytes.org>
parent 694835dc
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment