diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2011-05-24 20:13:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 11:39:53 -0400 |
commit | 44ec7abe359204cc9186e32d31ef5b34c8d17274 (patch) | |
tree | 0a00cefe04db51828a11d2fe28fc75e763bda5f1 /arch/powerpc | |
parent | c196e32a111b0ee356d67acceb938ae0b5e63ef0 (diff) |
lib: consolidate DEBUG_PER_CPU_MAPS
DEBUG_PER_CPU_MAPS is used in lib/cpumask.c as well as in
inlcude/linux/cpumask.h and thus it has outgrown its use within x86 and
powerpc alone. Any arch with SMP support may want to get some more
debugging, so make this option generic.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: <linux-arch@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index a597dd77b903..e1890e6d31b6 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -44,18 +44,6 @@ config DEBUG_STACK_USAGE | |||
44 | 44 | ||
45 | This option will slow down process creation somewhat. | 45 | This option will slow down process creation somewhat. |
46 | 46 | ||
47 | config DEBUG_PER_CPU_MAPS | ||
48 | bool "Debug access to per_cpu maps" | ||
49 | depends on DEBUG_KERNEL | ||
50 | depends on SMP | ||
51 | default n | ||
52 | ---help--- | ||
53 | Say Y to verify that the per_cpu map being accessed has | ||
54 | been setup. Adds a fair amount of code to kernel memory | ||
55 | and decreases performance. | ||
56 | |||
57 | Say N if unsure. | ||
58 | |||
59 | config HCALL_STATS | 47 | config HCALL_STATS |
60 | bool "Hypervisor call instrumentation" | 48 | bool "Hypervisor call instrumentation" |
61 | depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS | 49 | depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS |