aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/intr_remapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/intr_remapping.h')
-rw-r--r--drivers/pci/intr_remapping.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pci/intr_remapping.h b/drivers/pci/intr_remapping.h
new file mode 100644
index 00000000000..ca48f0df8ac
--- /dev/null
+++ b/drivers/pci/intr_remapping.h
@@ -0,0 +1,8 @@
+#include <linux/intel-iommu.h>
+
+struct ioapic_scope {
+ struct intel_iommu *iommu;
+ unsigned int id;
+};
+
+#define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)