summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/io_apic.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-23 19:54:53 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-23 19:58:09 +0100
commitabb0052289e58140d933b29491f59e4be0a19727 (patch)
tree37318c7f0c897f1346db933d469b4fffaa084aec /arch/x86/include/asm/io_apic.h
parent710dcda64369e3f3704a0eee502ce27dbf9fedc1 (diff)
x86: ioapic: Move trigger defines to io_apic.h
Required for devicetree based io_apic configuration. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/io_apic.h')
-rw-r--r--arch/x86/include/asm/io_apic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io_apic.h b/arch/x86/include/asm/io_apic.h
index be61e22dd9e..c4bd267dfc5 100644
--- a/arch/x86/include/asm/io_apic.h
+++ b/arch/x86/include/asm/io_apic.h
@@ -95,6 +95,10 @@ struct IR_IO_APIC_route_entry {
index : 15;
} __attribute__ ((packed));
+#define IOAPIC_AUTO -1
+#define IOAPIC_EDGE 0
+#define IOAPIC_LEVEL 1
+
#ifdef CONFIG_X86_IO_APIC
/*