aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/dmar.h
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2018-06-27 10:31:20 -0500
committerJoerg Roedel <jroedel@suse.de>2018-07-06 14:43:47 +0200
commit818b7587b4d34e989ea6c042eeb8d50ffa5be13e (patch)
treed028f318579d58946d640d6f999aeafbb8bf1ed7 /include/linux/dmar.h
parentiommu/amd: make sure TLB to be flushed before IOVA freed (diff)
downloadwireguard-linux-818b7587b4d34e989ea6c042eeb8d50ffa5be13e.tar.xz
wireguard-linux-818b7587b4d34e989ea6c042eeb8d50ffa5be13e.zip
x86: irq_remapping: Move irq remapping mode enum
The enum is currently defined in Intel-specific DMAR header file, but it is also used by APIC common code. Therefore, move it to a more appropriate interrupt-remapping common header file. This will also be used by subsequent patches. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Joerg Roedel <jroedel@suse.de> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/dmar.h')
-rw-r--r--include/linux/dmar.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h
index e2433bc50210..843a41ba7e28 100644
--- a/include/linux/dmar.h
+++ b/include/linux/dmar.h
@@ -265,11 +265,6 @@ static inline void dmar_copy_shared_irte(struct irte *dst, struct irte *src)
#define PDA_LOW_BIT 26
#define PDA_HIGH_BIT 32
-enum {
- IRQ_REMAP_XAPIC_MODE,
- IRQ_REMAP_X2APIC_MODE,
-};
-
/* Can't use the common MSI interrupt functions
* since DMAR is not a pci device
*/