Skip to contentSkip to conversation

lock validator: disable OPROFILE if LOCKDEP=y

PATCH New Ingo Molnar 1 participant 1 message May 30, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lock validator: disable OPROFILE if LOCKDEP=y

Subject: lock validator: disable OPROFILE if LOCKDEP=y
From: Ingo Molnar <[email protected]>

NMIs are not working yet under LOCKDEP, so make sure they are disabled.

---
 arch/i386/oprofile/Kconfig   |    2 +-
 arch/x86_64/oprofile/Kconfig |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/i386/oprofile/Kconfig +1 -1
Index: linux/arch/i386/oprofile/Kconfig
===================================================================
@@ -7,7 +7,7 @@ config PROFILING
 
 config OPROFILE
 	tristate "OProfile system profiling (EXPERIMENTAL)"
-	depends on PROFILING
+	depends on PROFILING && !LOCKDEP
 	help
 	  OProfile is a profiling system capable of profiling the
 	  whole system, include the kernel, kernel modules, libraries,
arch/x86_64/oprofile/Kconfig +1 -1
Index: linux/arch/x86_64/oprofile/Kconfig
===================================================================
@@ -7,7 +7,7 @@ config PROFILING
 
 config OPROFILE
 	tristate "OProfile system profiling (EXPERIMENTAL)"
-	depends on PROFILING
+	depends on PROFILING && !LOCKDEP
 	help
 	  OProfile is a profiling system capable of profiling the
 	  whole system, include the kernel, kernel modules, libraries,