linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mips: Kconfig: replace OPROFILE=n to !OPROFILE
@ 2016-02-19 23:42 Yang Shi
  0 siblings, 0 replies; only message in thread
From: Yang Shi @ 2016-02-19 23:42 UTC (permalink / raw)
  To: ralf; +Cc: linux-kernel, linux-mips

In Kconfig "=n" is not correct syntax, "!" is the preferred way for
false-positive expression.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
 arch/mips/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 74a3db9..ab433d3 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2484,7 +2484,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
-- 
2.0.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-20  0:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-19 23:42 [PATCH] mips: Kconfig: replace OPROFILE=n to !OPROFILE Yang Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).