x86: irq_remapping: Move irq remapping mode enum
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Wed, 27 Jun 2018 15:31:20 +0000 (10:31 -0500)
committerJoerg Roedel <jroedel@suse.de>
Fri, 6 Jul 2018 12:43:47 +0000 (14:43 +0200)
commit818b7587b4d34e989ea6c042eeb8d50ffa5be13e
treed028f318579d58946d640d6f999aeafbb8bf1ed7
parent3c120143f584360a13614787e23ae2cdcb5e5ccd
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>
arch/x86/include/asm/irq_remapping.h
include/linux/dmar.h