aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/include/asm/apicdef.h
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2011-02-22 15:38:03 +0100
committerIngo Molnar <mingo@elte.hu>2011-02-23 11:38:44 +0100
commit4e034b245133adfd006ade5d7a809c9cac4beef9 (patch)
treead29ee65492313cc78c840b76b6c308de04b9a7a /arch/x86/include/asm/apicdef.h
parentLinux 2.6.38-rc6 (diff)
downloadwireguard-linux-4e034b245133adfd006ade5d7a809c9cac4beef9.tar.xz
wireguard-linux-4e034b245133adfd006ade5d7a809c9cac4beef9.zip
x86: Move ioapic_irq_destination_types to apicdef.h
This enum is used by non IOAPIC code, so apicdef.h is the best place for it. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> LKML-Reference: <1298385487-4708-1-git-send-email-henne@nachtwindheim.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/apicdef.h')
-rw-r--r--arch/x86/include/asm/apicdef.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apicdef.h b/arch/x86/include/asm/apicdef.h
index 47a30ff8e517..d87988bacf3e 100644
--- a/arch/x86/include/asm/apicdef.h
+++ b/arch/x86/include/asm/apicdef.h
@@ -426,4 +426,16 @@ struct local_apic {
#else
#define BAD_APICID 0xFFFFu
#endif
+
+enum ioapic_irq_destination_types {
+ dest_Fixed = 0,
+ dest_LowestPrio = 1,
+ dest_SMI = 2,
+ dest__reserved_1 = 3,
+ dest_NMI = 4,
+ dest_INIT = 5,
+ dest__reserved_2 = 6,
+ dest_ExtINT = 7
+};
+
#endif /* _ASM_X86_APICDEF_H */