From: Anton Blanchard Date: Mon, 26 Apr 2010 15:32:46 +0000 (+0000) Subject: powerpc/cpumask: Add DEBUG_PER_CPU_MAPS option X-Git-Tag: v2.6.35-rc1~450^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceba1abcb00b0ef0b1efcd715285f6e05523edef;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 5cdd7ed..53696da 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug @@ -44,6 +44,18 @@ config DEBUG_STACK_USAGE This option will slow down process creation somewhat. +config DEBUG_PER_CPU_MAPS + bool "Debug access to per_cpu maps" + depends on DEBUG_KERNEL + depends on SMP + default n + ---help--- + Say Y to verify that the per_cpu map being accessed has + been setup. Adds a fair amount of code to kernel memory + and decreases performance. + + Say N if unsure. + config HCALL_STATS bool "Hypervisor call instrumentation" depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS