diff options
author | Anton Blanchard <anton@samba.org> | 2010-04-26 11:32:46 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-05-06 04:05:26 -0400 |
commit | ceba1abcb00b0ef0b1efcd715285f6e05523edef (patch) | |
tree | 6aa0a9334a3324f9f7170606cc071b5dbd223832 /arch | |
parent | 2ef613cb94556ff69860f6bf004298f4e131c216 (diff) |
powerpc/cpumask: Add DEBUG_PER_CPU_MAPS option
Enable the DEBUG_PER_CPU_MAPS option so we can look for problems with
cpumasks .
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 5cdd7ed9a12e..53696da4518f 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -44,6 +44,18 @@ 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 | |||
47 | config HCALL_STATS | 59 | config HCALL_STATS |
48 | bool "Hypervisor call instrumentation" | 60 | bool "Hypervisor call instrumentation" |
49 | depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS | 61 | depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS |