summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorYang Shi <yang.shi@windriver.com>2016-02-19 23:42:11 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 12:02:04 (GMT)
commit23021b2bb98543d08e22725122650644d824bf18 (patch)
tree7aa480c55a1b953d9bb49221d15d7f0ed937bbf4 /arch/mips
parent919beb4eedc587b70f8c1390fedac10cda783c36 (diff)
downloadlinux-23021b2bb98543d08e22725122650644d824bf18.tar.xz
MIPS: Kconfig: replace OPROFILE=n to !OPROFILE
In Kconfig "=n" is not correct syntax, "!" is the preferred way for false-positive expression. Signed-off-by: Yang Shi <yang.shi@windriver.com> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/12572/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 68ddb45..79a1c69 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2544,7 +2544,7 @@ config NODES_SHIFT
config HW_PERF_EVENTS
bool "Enable hardware performance counter support for perf events"
- depends on PERF_EVENTS && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3)
+ depends on PERF_EVENTS && !OPROFILE && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3)
default y
help
Enable hardware performance counter support for perf events. If