summaryrefslogtreecommitdiff
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorYang Shi <yang.shi@windriver.com>2016-02-19 15:42:11 -0800
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 14:02:04 +0200
commit23021b2bb98543d08e22725122650644d824bf18 (patch)
tree7aa480c55a1b953d9bb49221d15d7f0ed937bbf4 /arch/mips/Kconfig
parent919beb4eedc587b70f8c1390fedac10cda783c36 (diff)
downloadlwn-23021b2bb98543d08e22725122650644d824bf18.tar.gz
lwn-23021b2bb98543d08e22725122650644d824bf18.zip
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/Kconfig')
-rw-r--r--arch/mips/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 68ddb45d6258..79a1c6991c08 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