summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson/lemote-2f/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson/lemote-2f/irq.c')
-rw-r--r--arch/mips/loongson/lemote-2f/irq.c4
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 @@
*/
#include <linux/interrupt.h>
+#include <linux/module.h>
#include <asm/irq_cpu.h>
#include <asm/i8259.h>
@@ -30,7 +31,7 @@
* The generic i8259_irq() make the kernel hang on booting. Since we cannot
* get the irq via the IRR directly, we access the ISR instead.
*/
-static inline int mach_i8259_irq(void)
+int mach_i8259_irq(void)
{
int irq, isr;
@@ -60,6 +61,7 @@ static inline int mach_i8259_irq(void)
return irq;
}
+EXPORT_SYMBOL(mach_i8259_irq);
static void i8259_irqdispatch(void)
{