Kconfig: remove HAVE_LATENCYTOP_SUPPORT
As illustrated by commita3afe70b83
("[S390] latencytop s390 support."), HAVE_LATENCYTOP_SUPPORT is defined by an architecture to advertise an implementation of save_stack_trace_tsk. However, as of9212ddb5ea
("stacktrace: provide save_stack_trace_tsk() weak alias") a dummy implementation is provided if STACKTRACE=y. Given that LATENCYTOP already depends on STACKTRACE_SUPPORT and selects STACKTRACE, we can remove HAVE_LATENCYTOP_SUPPORT altogether. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: James Hogan <james.hogan@imgtec.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Helge Deller <deller@gmx.de> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Cc: Ingo Molnar <mingo@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
3f1bfd9413
commit
da48d094ce
|
@ -73,9 +73,6 @@ config STACKTRACE_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
select STACKTRACE
|
select STACKTRACE
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config HAVE_ARCH_TRANSPARENT_HUGEPAGE
|
config HAVE_ARCH_TRANSPARENT_HUGEPAGE
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on ARC_MMU_V4
|
depends on ARC_MMU_V4
|
||||||
|
|
|
@ -168,11 +168,6 @@ config STACKTRACE_SUPPORT
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
bool
|
|
||||||
depends on !SMP
|
|
||||||
default y
|
|
||||||
|
|
||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
|
@ -36,9 +36,6 @@ config STACKTRACE_SUPPORT
|
||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config RWSEM_GENERIC_SPINLOCK
|
config RWSEM_GENERIC_SPINLOCK
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
|
|
|
@ -67,9 +67,6 @@ config STACKTRACE_SUPPORT
|
||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
source "init/Kconfig"
|
source "init/Kconfig"
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
source "kernel/Kconfig.freezer"
|
||||||
|
|
|
@ -79,9 +79,6 @@ config TIME_LOW_RES
|
||||||
depends on SMP
|
depends on SMP
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
# unless you want to implement ACPI on PA-RISC ... ;-)
|
# unless you want to implement ACPI on PA-RISC ... ;-)
|
||||||
config PM
|
config PM
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -47,9 +47,6 @@ config STACKTRACE_SUPPORT
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
|
@ -10,9 +10,6 @@ config LOCKDEP_SUPPORT
|
||||||
config STACKTRACE_SUPPORT
|
config STACKTRACE_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config RWSEM_GENERIC_SPINLOCK
|
config RWSEM_GENERIC_SPINLOCK
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
|
@ -130,9 +130,6 @@ config STACKTRACE_SUPPORT
|
||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config ARCH_HAS_ILOG2_U32
|
config ARCH_HAS_ILOG2_U32
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
|
|
|
@ -101,10 +101,6 @@ config LOCKDEP_SUPPORT
|
||||||
bool
|
bool
|
||||||
default y if SPARC64
|
default y if SPARC64
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
bool
|
|
||||||
default y if SPARC64
|
|
||||||
|
|
||||||
config ARCH_HIBERNATION_POSSIBLE
|
config ARCH_HIBERNATION_POSSIBLE
|
||||||
def_bool y if SPARC64
|
def_bool y if SPARC64
|
||||||
|
|
||||||
|
|
|
@ -34,9 +34,6 @@ config NO_IOPORT_MAP
|
||||||
config STACKTRACE_SUPPORT
|
config STACKTRACE_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
|
|
|
@ -180,9 +180,6 @@ config LOCKDEP_SUPPORT
|
||||||
config STACKTRACE_SUPPORT
|
config STACKTRACE_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config HAVE_LATENCYTOP_SUPPORT
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config MMU
|
config MMU
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
|
|
|
@ -1597,7 +1597,6 @@ config FAULT_INJECTION_STACKTRACE_FILTER
|
||||||
|
|
||||||
config LATENCYTOP
|
config LATENCYTOP
|
||||||
bool "Latency measuring infrastructure"
|
bool "Latency measuring infrastructure"
|
||||||
depends on HAVE_LATENCYTOP_SUPPORT
|
|
||||||
depends on DEBUG_KERNEL
|
depends on DEBUG_KERNEL
|
||||||
depends on STACKTRACE_SUPPORT
|
depends on STACKTRACE_SUPPORT
|
||||||
depends on PROC_FS
|
depends on PROC_FS
|
||||||
|
|
Loading…
Reference in New Issue