Kconfig: remove HAVE_LATENCYTOP_SUPPORT
authorWill Deacon <will.deacon@arm.com>
Sat, 16 Jan 2016 00:58:07 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2016 19:17:23 +0000 (11:17 -0800)
As illustrated by commit a3afe70b83fd ("[S390] latencytop s390
support."), HAVE_LATENCYTOP_SUPPORT is defined by an architecture to
advertise an implementation of save_stack_trace_tsk.

However, as of 9212ddb5eada ("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>
12 files changed:
arch/arc/Kconfig
arch/arm/Kconfig
arch/metag/Kconfig
arch/microblaze/Kconfig
arch/parisc/Kconfig
arch/powerpc/Kconfig
arch/s390/Kconfig
arch/sh/Kconfig
arch/sparc/Kconfig
arch/unicore32/Kconfig
arch/x86/Kconfig
lib/Kconfig.debug

index 6312f607932fd2241782827cce2ec7968ea3c8b6..76dde9db79349d0977687623307c934de91e314a 100644 (file)
@@ -73,9 +73,6 @@ config STACKTRACE_SUPPORT
        def_bool y
        select STACKTRACE
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 config HAVE_ARCH_TRANSPARENT_HUGEPAGE
        def_bool y
        depends on ARC_MMU_V4
index 4e489cc5c45e5f4e1f648b5acc79cae8fdb81c5d..6a889afa6a2cfc9055af453b7d9637e5bc7f1c8d 100644 (file)
@@ -168,11 +168,6 @@ config STACKTRACE_SUPPORT
        bool
        default y
 
-config HAVE_LATENCYTOP_SUPPORT
-       bool
-       depends on !SMP
-       default y
-
 config LOCKDEP_SUPPORT
        bool
        default y
index 0b389a81c43a2cbc31ccd430e41df552578646e2..a0fa88da3e31a4c8806309154333bb39a2bd6e94 100644 (file)
@@ -36,9 +36,6 @@ config STACKTRACE_SUPPORT
 config LOCKDEP_SUPPORT
        def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 config RWSEM_GENERIC_SPINLOCK
        def_bool y
 
index 0bce820428fca2e32d5ae5e04714b372fdeb4adc..5ecd0287a87428ff9340a1ed88908d00897b5a24 100644 (file)
@@ -67,9 +67,6 @@ config STACKTRACE_SUPPORT
 config LOCKDEP_SUPPORT
        def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 source "init/Kconfig"
 
 source "kernel/Kconfig.freezer"
index 729f89163bc32113dba77e309c8ce767ed3d15e8..7c34cafdf3012e6f9b29d4a912ec064e4cefe068 100644 (file)
@@ -79,9 +79,6 @@ config TIME_LOW_RES
        depends on SMP
        default y
 
-config HAVE_LATENCYTOP_SUPPORT
-        def_bool y
-
 # unless you want to implement ACPI on PA-RISC ... ;-)
 config PM
        bool
index 7d5a8350f9132b47aee3a7a93bc721b19c135ee4..94f6c5089e0cc8d8c03d1ce658bcbd9953d3899d 100644 (file)
@@ -47,9 +47,6 @@ config STACKTRACE_SUPPORT
        bool
        default y
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 config TRACE_IRQFLAGS_SUPPORT
        bool
        default y
index 24490344c30fea87afab3fdc8b98cec3423b267d..dbeeb3a049f21f8f24d08560b1afc9ee6ec3690b 100644 (file)
@@ -10,9 +10,6 @@ config LOCKDEP_SUPPORT
 config STACKTRACE_SUPPORT
        def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 config RWSEM_GENERIC_SPINLOCK
        bool
 
index d514df7e04dd4c866597bd0772bfdc6a7dc000f9..6c391a5d3e5cf63f90475e5c55a2a5f5c687716d 100644 (file)
@@ -130,9 +130,6 @@ config STACKTRACE_SUPPORT
 config LOCKDEP_SUPPORT
        def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 config ARCH_HAS_ILOG2_U32
        def_bool n
 
index 56442d2d7bbca4181e8897bfa5d9719dbded43d1..3203e42190dd79f513a2670677d373b72672c8f7 100644 (file)
@@ -101,10 +101,6 @@ config LOCKDEP_SUPPORT
        bool
        default y if SPARC64
 
-config HAVE_LATENCYTOP_SUPPORT
-       bool
-       default y if SPARC64
-
 config ARCH_HIBERNATION_POSSIBLE
        def_bool y if SPARC64
 
index 5dc4c0a43ccdea7b8f1317a2a6a87d06c2fa9648..877342640b6e6da59db68ee9705ca8e00a62e7e4 100644 (file)
@@ -34,9 +34,6 @@ config NO_IOPORT_MAP
 config STACKTRACE_SUPPORT
        def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 config LOCKDEP_SUPPORT
        def_bool y
 
index 24f362bf3ec632d117429061785b6f5865d441e1..4a10ba9e95daac1842b4fdd93ae814d07b444eeb 100644 (file)
@@ -180,9 +180,6 @@ config LOCKDEP_SUPPORT
 config STACKTRACE_SUPPORT
        def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-       def_bool y
-
 config MMU
        def_bool y
 
index 8fbdef1980a55fb201611d4dbe3c895b5bb401b4..f75a33f29f6e9b55c1e4b5ab9e1b355565fbaec6 100644 (file)
@@ -1597,7 +1597,6 @@ config FAULT_INJECTION_STACKTRACE_FILTER
 
 config LATENCYTOP
        bool "Latency measuring infrastructure"
-       depends on HAVE_LATENCYTOP_SUPPORT
        depends on DEBUG_KERNEL
        depends on STACKTRACE_SUPPORT
        depends on PROC_FS
This page took 0.03301 seconds and 5 git commands to generate.