From b5005666a14a956c93120a0dcd21747ffa7fcc8f Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Tue, 24 May 2011 17:13:32 -0700 Subject: [PATCH] --- yaml --- r: 250979 b: refs/heads/master c: 44ec7abe359204cc9186e32d31ef5b34c8d17274 h: refs/heads/master i: 250977: 1392e052391dcdf56eb9b36d28fc5fcd163511ed 250975: 804598a684cc83054e214672989ec639dea61468 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/Kconfig.debug | 12 ------------ trunk/arch/x86/Kconfig.debug | 11 ----------- trunk/lib/Kconfig.debug | 11 +++++++++++ 4 files changed, 12 insertions(+), 24 deletions(-) diff --git a/[refs] b/[refs] index 80a3828881c8..ce6446cc67ec 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c196e32a111b0ee356d67acceb938ae0b5e63ef0 +refs/heads/master: 44ec7abe359204cc9186e32d31ef5b34c8d17274 diff --git a/trunk/arch/powerpc/Kconfig.debug b/trunk/arch/powerpc/Kconfig.debug index a597dd77b903..e1890e6d31b6 100644 --- a/trunk/arch/powerpc/Kconfig.debug +++ b/trunk/arch/powerpc/Kconfig.debug @@ -44,18 +44,6 @@ 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 diff --git a/trunk/arch/x86/Kconfig.debug b/trunk/arch/x86/Kconfig.debug index 615e18810f48..1bf88396ba23 100644 --- a/trunk/arch/x86/Kconfig.debug +++ b/trunk/arch/x86/Kconfig.debug @@ -75,17 +75,6 @@ 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 - ---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 X86_PTDUMP bool "Export kernel pagetable layout to userspace via debugfs" depends on DEBUG_KERNEL diff --git a/trunk/lib/Kconfig.debug b/trunk/lib/Kconfig.debug index 0efcdca9751a..09596e01468e 100644 --- a/trunk/lib/Kconfig.debug +++ b/trunk/lib/Kconfig.debug @@ -983,6 +983,17 @@ config DEBUG_FORCE_WEAK_PER_CPU To ensure that generic code follows the above rules, this option forces all percpu variables to be defined as weak. +config DEBUG_PER_CPU_MAPS + bool "Debug access to per_cpu maps" + depends on DEBUG_KERNEL + depends on SMP + help + Say Y to verify that the per_cpu map being accessed has + been set up. This adds a fair amount of code to kernel memory + and decreases performance. + + Say N if unsure. + config LKDTM tristate "Linux Kernel Dump Test Tool Module" depends on DEBUG_FS