diff options
author | Will Deacon <will.deacon@arm.com> | 2016-01-15 19:58:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-16 14:17:23 -0500 |
commit | da48d094ce5d7c7dcdad9011648a81c42fd1c2ef (patch) | |
tree | eac002196fe5e232de8f3d3f4fe0ec53f08391f6 | |
parent | 3f1bfd94136ecb85889e6e22893c08e8a9c697c2 (diff) |
Kconfig: remove HAVE_LATENCYTOP_SUPPORT
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>
-rw-r--r-- | arch/arc/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/Kconfig | 5 | ||||
-rw-r--r-- | arch/metag/Kconfig | 3 | ||||
-rw-r--r-- | arch/microblaze/Kconfig | 3 | ||||
-rw-r--r-- | arch/parisc/Kconfig | 3 | ||||
-rw-r--r-- | arch/powerpc/Kconfig | 3 | ||||
-rw-r--r-- | arch/s390/Kconfig | 3 | ||||
-rw-r--r-- | arch/sh/Kconfig | 3 | ||||
-rw-r--r-- | arch/sparc/Kconfig | 4 | ||||
-rw-r--r-- | arch/unicore32/Kconfig | 3 | ||||
-rw-r--r-- | arch/x86/Kconfig | 3 | ||||
-rw-r--r-- | lib/Kconfig.debug | 1 |
12 files changed, 0 insertions, 37 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 6312f607932f..76dde9db7934 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig | |||
@@ -73,9 +73,6 @@ config STACKTRACE_SUPPORT | |||
73 | def_bool y | 73 | def_bool y |
74 | select STACKTRACE | 74 | select STACKTRACE |
75 | 75 | ||
76 | config HAVE_LATENCYTOP_SUPPORT | ||
77 | def_bool y | ||
78 | |||
79 | config HAVE_ARCH_TRANSPARENT_HUGEPAGE | 76 | config HAVE_ARCH_TRANSPARENT_HUGEPAGE |
80 | def_bool y | 77 | def_bool y |
81 | depends on ARC_MMU_V4 | 78 | depends on ARC_MMU_V4 |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4e489cc5c45e..6a889afa6a2c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -168,11 +168,6 @@ config STACKTRACE_SUPPORT | |||
168 | bool | 168 | bool |
169 | default y | 169 | default y |
170 | 170 | ||
171 | config HAVE_LATENCYTOP_SUPPORT | ||
172 | bool | ||
173 | depends on !SMP | ||
174 | default y | ||
175 | |||
176 | config LOCKDEP_SUPPORT | 171 | config LOCKDEP_SUPPORT |
177 | bool | 172 | bool |
178 | default y | 173 | default y |
diff --git a/arch/metag/Kconfig b/arch/metag/Kconfig index 0b389a81c43a..a0fa88da3e31 100644 --- a/arch/metag/Kconfig +++ b/arch/metag/Kconfig | |||
@@ -36,9 +36,6 @@ config STACKTRACE_SUPPORT | |||
36 | config LOCKDEP_SUPPORT | 36 | config LOCKDEP_SUPPORT |
37 | def_bool y | 37 | def_bool y |
38 | 38 | ||
39 | config HAVE_LATENCYTOP_SUPPORT | ||
40 | def_bool y | ||
41 | |||
42 | config RWSEM_GENERIC_SPINLOCK | 39 | config RWSEM_GENERIC_SPINLOCK |
43 | def_bool y | 40 | def_bool y |
44 | 41 | ||
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 0bce820428fc..5ecd0287a874 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -67,9 +67,6 @@ config STACKTRACE_SUPPORT | |||
67 | config LOCKDEP_SUPPORT | 67 | config LOCKDEP_SUPPORT |
68 | def_bool y | 68 | def_bool y |
69 | 69 | ||
70 | config HAVE_LATENCYTOP_SUPPORT | ||
71 | def_bool y | ||
72 | |||
73 | source "init/Kconfig" | 70 | source "init/Kconfig" |
74 | 71 | ||
75 | source "kernel/Kconfig.freezer" | 72 | source "kernel/Kconfig.freezer" |
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 729f89163bc3..7c34cafdf301 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
@@ -79,9 +79,6 @@ config TIME_LOW_RES | |||
79 | depends on SMP | 79 | depends on SMP |
80 | default y | 80 | default y |
81 | 81 | ||
82 | config HAVE_LATENCYTOP_SUPPORT | ||
83 | def_bool y | ||
84 | |||
85 | # unless you want to implement ACPI on PA-RISC ... ;-) | 82 | # unless you want to implement ACPI on PA-RISC ... ;-) |
86 | config PM | 83 | config PM |
87 | bool | 84 | bool |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 7d5a8350f913..94f6c5089e0c 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -47,9 +47,6 @@ config STACKTRACE_SUPPORT | |||
47 | bool | 47 | bool |
48 | default y | 48 | default y |
49 | 49 | ||
50 | config HAVE_LATENCYTOP_SUPPORT | ||
51 | def_bool y | ||
52 | |||
53 | config TRACE_IRQFLAGS_SUPPORT | 50 | config TRACE_IRQFLAGS_SUPPORT |
54 | bool | 51 | bool |
55 | default y | 52 | default y |
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 24490344c30f..dbeeb3a049f2 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -10,9 +10,6 @@ config LOCKDEP_SUPPORT | |||
10 | config STACKTRACE_SUPPORT | 10 | config STACKTRACE_SUPPORT |
11 | def_bool y | 11 | def_bool y |
12 | 12 | ||
13 | config HAVE_LATENCYTOP_SUPPORT | ||
14 | def_bool y | ||
15 | |||
16 | config RWSEM_GENERIC_SPINLOCK | 13 | config RWSEM_GENERIC_SPINLOCK |
17 | bool | 14 | bool |
18 | 15 | ||
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index d514df7e04dd..6c391a5d3e5c 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -130,9 +130,6 @@ config STACKTRACE_SUPPORT | |||
130 | config LOCKDEP_SUPPORT | 130 | config LOCKDEP_SUPPORT |
131 | def_bool y | 131 | def_bool y |
132 | 132 | ||
133 | config HAVE_LATENCYTOP_SUPPORT | ||
134 | def_bool y | ||
135 | |||
136 | config ARCH_HAS_ILOG2_U32 | 133 | config ARCH_HAS_ILOG2_U32 |
137 | def_bool n | 134 | def_bool n |
138 | 135 | ||
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 56442d2d7bbc..3203e42190dd 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -101,10 +101,6 @@ config LOCKDEP_SUPPORT | |||
101 | bool | 101 | bool |
102 | default y if SPARC64 | 102 | default y if SPARC64 |
103 | 103 | ||
104 | config HAVE_LATENCYTOP_SUPPORT | ||
105 | bool | ||
106 | default y if SPARC64 | ||
107 | |||
108 | config ARCH_HIBERNATION_POSSIBLE | 104 | config ARCH_HIBERNATION_POSSIBLE |
109 | def_bool y if SPARC64 | 105 | def_bool y if SPARC64 |
110 | 106 | ||
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index 5dc4c0a43ccd..877342640b6e 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfig | |||
@@ -34,9 +34,6 @@ config NO_IOPORT_MAP | |||
34 | config STACKTRACE_SUPPORT | 34 | config STACKTRACE_SUPPORT |
35 | def_bool y | 35 | def_bool y |
36 | 36 | ||
37 | config HAVE_LATENCYTOP_SUPPORT | ||
38 | def_bool y | ||
39 | |||
40 | config LOCKDEP_SUPPORT | 37 | config LOCKDEP_SUPPORT |
41 | def_bool y | 38 | def_bool y |
42 | 39 | ||
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 24f362bf3ec6..4a10ba9e95da 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -180,9 +180,6 @@ config LOCKDEP_SUPPORT | |||
180 | config STACKTRACE_SUPPORT | 180 | config STACKTRACE_SUPPORT |
181 | def_bool y | 181 | def_bool y |
182 | 182 | ||
183 | config HAVE_LATENCYTOP_SUPPORT | ||
184 | def_bool y | ||
185 | |||
186 | config MMU | 183 | config MMU |
187 | def_bool y | 184 | def_bool y |
188 | 185 | ||
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 8fbdef1980a5..f75a33f29f6e 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1597,7 +1597,6 @@ config FAULT_INJECTION_STACKTRACE_FILTER | |||
1597 | 1597 | ||
1598 | config LATENCYTOP | 1598 | config LATENCYTOP |
1599 | bool "Latency measuring infrastructure" | 1599 | bool "Latency measuring infrastructure" |
1600 | depends on HAVE_LATENCYTOP_SUPPORT | ||
1601 | depends on DEBUG_KERNEL | 1600 | depends on DEBUG_KERNEL |
1602 | depends on STACKTRACE_SUPPORT | 1601 | depends on STACKTRACE_SUPPORT |
1603 | depends on PROC_FS | 1602 | depends on PROC_FS |