diff options
Diffstat (limited to 'arch/mips/loongson/lemote-2f/irq.c')
-rw-r--r-- | arch/mips/loongson/lemote-2f/irq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/loongson/lemote-2f/irq.c b/arch/mips/loongson/lemote-2f/irq.c index 50e7bb6012b7..77d32f9cf31e 100644 --- a/arch/mips/loongson/lemote-2f/irq.c +++ b/arch/mips/loongson/lemote-2f/irq.c | |||
@@ -9,6 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/interrupt.h> | 11 | #include <linux/interrupt.h> |
12 | #include <linux/module.h> | ||
12 | 13 | ||
13 | #include <asm/irq_cpu.h> | 14 | #include <asm/irq_cpu.h> |
14 | #include <asm/i8259.h> | 15 | #include <asm/i8259.h> |
@@ -30,7 +31,7 @@ | |||
30 | * The generic i8259_irq() make the kernel hang on booting. Since we cannot | 31 | * The generic i8259_irq() make the kernel hang on booting. Since we cannot |
31 | * get the irq via the IRR directly, we access the ISR instead. | 32 | * get the irq via the IRR directly, we access the ISR instead. |
32 | */ | 33 | */ |
33 | static inline int mach_i8259_irq(void) | 34 | int mach_i8259_irq(void) |
34 | { | 35 | { |
35 | int irq, isr; | 36 | int irq, isr; |
36 | 37 | ||
@@ -60,6 +61,7 @@ static inline int mach_i8259_irq(void) | |||
60 | 61 | ||
61 | return irq; | 62 | return irq; |
62 | } | 63 | } |
64 | EXPORT_SYMBOL(mach_i8259_irq); | ||
63 | 65 | ||
64 | static void i8259_irqdispatch(void) | 66 | static void i8259_irqdispatch(void) |
65 | { | 67 | { |