diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-31 12:19:08 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-07-23 08:55:54 -0400 |
commit | a551fafba2bd3c395bf56e4fafc828a13e994588 (patch) | |
tree | 9e3f624d61e2f94e78c751db2340bdda49f9c3bd /arch/mips/include/asm | |
parent | baf69e275317602bb1f2c87e40d1e03c90b31e38 (diff) |
MIPS: loongson: use IS_ENABLED()
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3336/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-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 | } |