Commit abb00522 authored by Thomas Gleixner's avatar Thomas Gleixner

x86: ioapic: Move trigger defines to io_apic.h

Required for devicetree based io_apic configuration.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 710dcda6
...@@ -95,6 +95,10 @@ struct IR_IO_APIC_route_entry { ...@@ -95,6 +95,10 @@ struct IR_IO_APIC_route_entry {
index : 15; index : 15;
} __attribute__ ((packed)); } __attribute__ ((packed));
#define IOAPIC_AUTO -1
#define IOAPIC_EDGE 0
#define IOAPIC_LEVEL 1
#ifdef CONFIG_X86_IO_APIC #ifdef CONFIG_X86_IO_APIC
/* /*
......
...@@ -1216,10 +1216,6 @@ void __setup_vector_irq(int cpu) ...@@ -1216,10 +1216,6 @@ void __setup_vector_irq(int cpu)
static struct irq_chip ioapic_chip; static struct irq_chip ioapic_chip;
static struct irq_chip ir_ioapic_chip; static struct irq_chip ir_ioapic_chip;
#define IOAPIC_AUTO -1
#define IOAPIC_EDGE 0
#define IOAPIC_LEVEL 1
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
static inline int IO_APIC_irq_trigger(int irq) static inline int IO_APIC_irq_trigger(int irq)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment