[patch, -rc5-mm1] lock validator: disable OPROFILE if LOCKDEP=y

From: Ingo Molnar
Date: Tue May 30 2006 - 16:56:56 EST


Subject: lock validator: disable OPROFILE if LOCKDEP=y
From: Ingo Molnar <mingo@xxxxxxx>

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

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
---
arch/i386/oprofile/Kconfig | 2 +-
arch/x86_64/oprofile/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux/arch/i386/oprofile/Kconfig
===================================================================
--- linux.orig/arch/i386/oprofile/Kconfig
+++ 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,
Index: linux/arch/x86_64/oprofile/Kconfig
===================================================================
--- linux.orig/arch/x86_64/oprofile/Kconfig
+++ 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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/