diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-07-07 12:56:44 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-07-07 12:58:28 +0200 |
commit | b395fb36d59e17b9335805c10fa30fc51c8a94c6 (patch) | |
tree | b96bc8eee33753e2a1b1181c62a028d7f89643d7 /drivers/iommu/intr_remapping.h | |
parent | Linux 3.0-rc6 (diff) | |
parent | iommu/core: Fix build with INTR_REMAP=y && CONFIG_DMAR=n (diff) | |
download | linux-b395fb36d59e17b9335805c10fa30fc51c8a94c6.tar.xz linux-b395fb36d59e17b9335805c10fa30fc51c8a94c6.zip |
Merge branch 'iommu-3.1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu into core/iommu
Diffstat (limited to 'drivers/iommu/intr_remapping.h')
-rw-r--r-- | drivers/iommu/intr_remapping.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/iommu/intr_remapping.h b/drivers/iommu/intr_remapping.h new file mode 100644 index 000000000000..5662fecfee60 --- /dev/null +++ b/drivers/iommu/intr_remapping.h @@ -0,0 +1,17 @@ +#include <linux/intel-iommu.h> + +struct ioapic_scope { + struct intel_iommu *iommu; + unsigned int id; + unsigned int bus; /* PCI bus number */ + unsigned int devfn; /* PCI devfn number */ +}; + +struct hpet_scope { + struct intel_iommu *iommu; + u8 id; + unsigned int bus; + unsigned int devfn; +}; + +#define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0) |