]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: move eisa_set_level_irq declaration to header
authorThomas Gleixner <tglx@linutronix.de>
Fri, 2 May 2008 22:30:50 +0000 (00:30 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:28:06 +0000 (21:28 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/boot.c
include/asm-x86/hw_irq.h

index c49ebcc6c41e84392fe1eeb1b473b01e881b1975..671591fcc61d9918206721545f21588846ab6688 100644 (file)
@@ -507,8 +507,6 @@ int acpi_register_gsi(u32 gsi, int triggering, int polarity)
         * Make sure all (legacy) PCI IRQs are set as level-triggered.
         */
        if (acpi_irq_model == ACPI_IRQ_MODEL_PIC) {
-               extern void eisa_set_level_irq(unsigned int irq);
-
                if (triggering == ACPI_LEVEL_SENSITIVE)
                        eisa_set_level_irq(gsi);
        }
index 1db2dff1ef490bc96b4bc0e941b39b9316b11927..1428b41dcbb9e1cecbe9f8ea8b1788865fb8285d 100644 (file)
@@ -79,6 +79,9 @@ extern void send_IPI(int dest, int vector);
 extern atomic_t irq_err_count;
 extern atomic_t irq_mis_count;
 
+/* EISA */
+extern void eisa_set_level_irq(unsigned int irq);
+
 /* Voyager functions */
 extern asmlinkage void vic_cpi_interrupt(void);
 extern asmlinkage void vic_sys_interrupt(void);