diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-08 19:28:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 03:22:14 -0400 |
commit | b69ec42b1b194cc88f04b3fbcda8d3f93182d6c3 (patch) | |
tree | 0dc1fc677fceb3ab524388ded6d60573430b5a47 /arch | |
parent | af1839eb4bd4fe079a125eb199205fceb6ae19e6 (diff) |
Kconfig: clean up the long arch list for the DEBUG_KMEMLEAK config option
Introduce HAVE_DEBUG_KMEMLEAK config option and select it in corresponding
architecture Kconfig files. DEBUG_KMEMLEAK now only depends on
HAVE_DEBUG_KMEMLEAK.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm64/Kconfig | 1 | ||||
-rw-r--r-- | arch/microblaze/Kconfig | 1 | ||||
-rw-r--r-- | arch/mips/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/Kconfig | 1 | ||||
-rw-r--r-- | arch/s390/Kconfig | 1 | ||||
-rw-r--r-- | arch/sh/Kconfig | 1 | ||||
-rw-r--r-- | arch/sparc/Kconfig | 1 | ||||
-rw-r--r-- | arch/tile/Kconfig | 1 | ||||
-rw-r--r-- | arch/x86/Kconfig | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5f5439672932..2867a7742306 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -25,6 +25,7 @@ config ARM | |||
25 | select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL) | 25 | select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL) |
26 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE | 26 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE |
27 | select HAVE_GENERIC_DMA_COHERENT | 27 | select HAVE_GENERIC_DMA_COHERENT |
28 | select HAVE_DEBUG_KMEMLEAK | ||
28 | select HAVE_KERNEL_GZIP | 29 | select HAVE_KERNEL_GZIP |
29 | select HAVE_KERNEL_LZO | 30 | select HAVE_KERNEL_LZO |
30 | select HAVE_KERNEL_LZMA | 31 | select HAVE_KERNEL_LZMA |
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e61acae0d891..5dc9273781d6 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
@@ -10,6 +10,7 @@ config ARM64 | |||
10 | select GENERIC_TIME_VSYSCALL | 10 | select GENERIC_TIME_VSYSCALL |
11 | select HARDIRQS_SW_RESEND | 11 | select HARDIRQS_SW_RESEND |
12 | select HAVE_ARCH_TRACEHOOK | 12 | select HAVE_ARCH_TRACEHOOK |
13 | select HAVE_DEBUG_KMEMLEAK | ||
13 | select HAVE_DMA_API_DEBUG | 14 | select HAVE_DMA_API_DEBUG |
14 | select HAVE_DMA_ATTRS | 15 | select HAVE_DMA_ATTRS |
15 | select HAVE_GENERIC_DMA_COHERENT | 16 | select HAVE_GENERIC_DMA_COHERENT |
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 6133bed2b855..53fd94ab60f0 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -16,6 +16,7 @@ config MICROBLAZE | |||
16 | select OF | 16 | select OF |
17 | select OF_EARLY_FLATTREE | 17 | select OF_EARLY_FLATTREE |
18 | select ARCH_WANT_IPC_PARSE_VERSION | 18 | select ARCH_WANT_IPC_PARSE_VERSION |
19 | select HAVE_DEBUG_KMEMLEAK | ||
19 | select IRQ_DOMAIN | 20 | select IRQ_DOMAIN |
20 | select HAVE_GENERIC_HARDIRQS | 21 | select HAVE_GENERIC_HARDIRQS |
21 | select GENERIC_IRQ_PROBE | 22 | select GENERIC_IRQ_PROBE |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index faf65286574e..335115e5bdd9 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -17,6 +17,7 @@ config MIPS | |||
17 | select HAVE_FUNCTION_GRAPH_TRACER | 17 | select HAVE_FUNCTION_GRAPH_TRACER |
18 | select HAVE_KPROBES | 18 | select HAVE_KPROBES |
19 | select HAVE_KRETPROBES | 19 | select HAVE_KRETPROBES |
20 | select HAVE_DEBUG_KMEMLEAK | ||
20 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE | 21 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE |
21 | select RTC_LIB if !MACH_LOONGSON | 22 | select RTC_LIB if !MACH_LOONGSON |
22 | select GENERIC_ATOMIC64 if !64BIT | 23 | select GENERIC_ATOMIC64 if !64BIT |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4ce0be32d153..6a798a70a6d1 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -113,6 +113,7 @@ config PPC | |||
113 | select HAVE_DMA_API_DEBUG | 113 | select HAVE_DMA_API_DEBUG |
114 | select USE_GENERIC_SMP_HELPERS if SMP | 114 | select USE_GENERIC_SMP_HELPERS if SMP |
115 | select HAVE_OPROFILE | 115 | select HAVE_OPROFILE |
116 | select HAVE_DEBUG_KMEMLEAK | ||
116 | select HAVE_SYSCALL_WRAPPERS if PPC64 | 117 | select HAVE_SYSCALL_WRAPPERS if PPC64 |
117 | select GENERIC_ATOMIC64 if PPC32 | 118 | select GENERIC_ATOMIC64 if PPC32 |
118 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | 119 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE |
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index baba37cfcf84..8c6d7986f6d2 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -80,6 +80,7 @@ config S390 | |||
80 | select HAVE_IRQ_WORK | 80 | select HAVE_IRQ_WORK |
81 | select HAVE_PERF_EVENTS | 81 | select HAVE_PERF_EVENTS |
82 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 82 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
83 | select HAVE_DEBUG_KMEMLEAK | ||
83 | select HAVE_KERNEL_GZIP | 84 | select HAVE_KERNEL_GZIP |
84 | select HAVE_KERNEL_BZIP2 | 85 | select HAVE_KERNEL_BZIP2 |
85 | select HAVE_KERNEL_LZMA | 86 | select HAVE_KERNEL_LZMA |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index f0c85e424777..cfbf3e3c982b 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -16,6 +16,7 @@ config SUPERH | |||
16 | select ARCH_HAVE_CUSTOM_GPIO_H | 16 | select ARCH_HAVE_CUSTOM_GPIO_H |
17 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) | 17 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) |
18 | select PERF_USE_VMALLOC | 18 | select PERF_USE_VMALLOC |
19 | select HAVE_DEBUG_KMEMLEAK | ||
19 | select HAVE_KERNEL_GZIP | 20 | select HAVE_KERNEL_GZIP |
20 | select HAVE_KERNEL_BZIP2 | 21 | select HAVE_KERNEL_BZIP2 |
21 | select HAVE_KERNEL_LZMA | 22 | select HAVE_KERNEL_LZMA |
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index e66481015d3b..274d6cf0ada2 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -60,6 +60,7 @@ config SPARC64 | |||
60 | select HAVE_DYNAMIC_FTRACE | 60 | select HAVE_DYNAMIC_FTRACE |
61 | select HAVE_FTRACE_MCOUNT_RECORD | 61 | select HAVE_FTRACE_MCOUNT_RECORD |
62 | select HAVE_SYSCALL_TRACEPOINTS | 62 | select HAVE_SYSCALL_TRACEPOINTS |
63 | select HAVE_DEBUG_KMEMLEAK | ||
63 | select RTC_DRV_CMOS | 64 | select RTC_DRV_CMOS |
64 | select RTC_DRV_BQ4802 | 65 | select RTC_DRV_BQ4802 |
65 | select RTC_DRV_SUN4V | 66 | select RTC_DRV_SUN4V |
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index c9a3c1fe7297..9a0d77d3ba14 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
@@ -9,6 +9,7 @@ config TILE | |||
9 | select GENERIC_FIND_FIRST_BIT | 9 | select GENERIC_FIND_FIRST_BIT |
10 | select USE_GENERIC_SMP_HELPERS | 10 | select USE_GENERIC_SMP_HELPERS |
11 | select CC_OPTIMIZE_FOR_SIZE | 11 | select CC_OPTIMIZE_FOR_SIZE |
12 | select HAVE_DEBUG_KMEMLEAK | ||
12 | select HAVE_GENERIC_HARDIRQS | 13 | select HAVE_GENERIC_HARDIRQS |
13 | select GENERIC_IRQ_PROBE | 14 | select GENERIC_IRQ_PROBE |
14 | select GENERIC_PENDING_IRQ if SMP | 15 | select GENERIC_PENDING_IRQ if SMP |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index fd5d7c2c2daa..3fea1848d955 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -66,6 +66,7 @@ config X86 | |||
66 | select HAVE_PERF_EVENTS_NMI | 66 | select HAVE_PERF_EVENTS_NMI |
67 | select HAVE_PERF_REGS | 67 | select HAVE_PERF_REGS |
68 | select HAVE_PERF_USER_STACK_DUMP | 68 | select HAVE_PERF_USER_STACK_DUMP |
69 | select HAVE_DEBUG_KMEMLEAK | ||
69 | select ANON_INODES | 70 | select ANON_INODES |
70 | select HAVE_ALIGNED_STRUCT_PAGE if SLUB && !M386 | 71 | select HAVE_ALIGNED_STRUCT_PAGE if SLUB && !M386 |
71 | select HAVE_CMPXCHG_LOCAL if !M386 | 72 | select HAVE_CMPXCHG_LOCAL if !M386 |