From 1e9639310f3797282c58ebae4670043df51ec104 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 31 Jan 2012 18:19:08 +0100 Subject: [PATCH] --- yaml --- r: 319589 b: refs/heads/master c: a551fafba2bd3c395bf56e4fafc828a13e994588 h: refs/heads/master i: 319587: 57db31a84f4e983abacbc2fc35f5baae8915fece v: v3 --- [refs] | 2 +- trunk/arch/mips/include/asm/mach-loongson/loongson.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f5042bf25b58..1c2a7a99a94f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: baf69e275317602bb1f2c87e40d1e03c90b31e38 +refs/heads/master: a551fafba2bd3c395bf56e4fafc828a13e994588 diff --git a/trunk/arch/mips/include/asm/mach-loongson/loongson.h b/trunk/arch/mips/include/asm/mach-loongson/loongson.h index 1e29b9dd1d73..06367c37e1b2 100644 --- a/trunk/arch/mips/include/asm/mach-loongson/loongson.h +++ b/trunk/arch/mips/include/asm/mach-loongson/loongson.h @@ -14,6 +14,7 @@ #include #include #include +#include /* loongson internal northbridge initialization */ extern void bonito_irq_init(void); @@ -66,7 +67,7 @@ extern int mach_i8259_irq(void); #include static inline void do_perfcnt_IRQ(void) { -#if defined(CONFIG_OPROFILE) || defined(CONFIG_OPROFILE_MODULE) +#if IS_ENABLED(CONFIG_OPROFILE) do_IRQ(LOONGSON2_PERFCNT_IRQ); #endif }