diff options
Diffstat (limited to 'arch/mips/include/asm/mach-loongson/loongson.h')
-rw-r--r-- | arch/mips/include/asm/mach-loongson/loongson.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-loongson/loongson.h b/arch/mips/include/asm/mach-loongson/loongson.h index 1e29b9dd1d73..06367c37e1b2 100644 --- a/arch/mips/include/asm/mach-loongson/loongson.h +++ b/arch/mips/include/asm/mach-loongson/loongson.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/irq.h> | 16 | #include <linux/irq.h> |
17 | #include <linux/kconfig.h> | ||
17 | 18 | ||
18 | /* loongson internal northbridge initialization */ | 19 | /* loongson internal northbridge initialization */ |
19 | extern void bonito_irq_init(void); | 20 | extern void bonito_irq_init(void); |
@@ -66,7 +67,7 @@ extern int mach_i8259_irq(void); | |||
66 | #include <linux/interrupt.h> | 67 | #include <linux/interrupt.h> |
67 | static inline void do_perfcnt_IRQ(void) | 68 | static inline void do_perfcnt_IRQ(void) |
68 | { | 69 | { |
69 | #if defined(CONFIG_OPROFILE) || defined(CONFIG_OPROFILE_MODULE) | 70 | #if IS_ENABLED(CONFIG_OPROFILE) |
70 | do_IRQ(LOONGSON2_PERFCNT_IRQ); | 71 | do_IRQ(LOONGSON2_PERFCNT_IRQ); |
71 | #endif | 72 | #endif |
72 | } | 73 | } |