From aa7d93506cc26378be6964692cd0dd34cffaee25 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Fri, 1 Feb 2008 17:45:14 +0100 Subject: latencytop: Change Kconfig dependency. Change latencytop Kconfig entry so it doesn't list the archictectures that support it. Instead introduce HAVE_LATENCY_SUPPORT which any architecture can set. Should reduce patch conflicts. Cc: Arjan van de Ven Cc: Martin Schwidefsky Cc: Holger Wolf Signed-off-by: Heiko Carstens Signed-off-by: Ingo Molnar --- arch/x86/Kconfig | 3 +++ lib/Kconfig.debug | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 65b449134cf..93e66678e15 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -44,6 +44,9 @@ config LOCKDEP_SUPPORT config STACKTRACE_SUPPORT def_bool y +config HAVE_LATENCYTOP_SUPPORT + def_bool y + config SEMAPHORE_SLEEPERS def_bool y diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 89f4035b526..0d8a5a4a789 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -581,7 +581,7 @@ config LATENCYTOP select STACKTRACE select SCHEDSTATS select SCHED_DEBUG - depends on X86 || X86_64 + depends on HAVE_LATENCYTOP_SUPPORT help Enable this option if you want to use the LatencyTOP tool to find out which userspace is blocking on what kernel operations. -- cgit v1.2.3-18-g5258