diff options
-rw-r--r-- | arch/powerpc/Kconfig.debug | 12 | ||||
-rw-r--r-- | arch/x86/Kconfig.debug | 11 | ||||
-rw-r--r-- | lib/Kconfig.debug | 11 |
3 files changed, 11 insertions, 23 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 |
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 615e18810f48..1bf88396ba23 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -75,17 +75,6 @@ config DEBUG_STACK_USAGE | |||
75 | 75 | ||
76 | This option will slow down process creation somewhat. | 76 | This option will slow down process creation somewhat. |
77 | 77 | ||
78 | config DEBUG_PER_CPU_MAPS | ||
79 | bool "Debug access to per_cpu maps" | ||
80 | depends on DEBUG_KERNEL | ||
81 | depends on SMP | ||
82 | ---help--- | ||
83 | Say Y to verify that the per_cpu map being accessed has | ||
84 | been setup. Adds a fair amount of code to kernel memory | ||
85 | and decreases performance. | ||
86 | |||
87 | Say N if unsure. | ||
88 | |||
89 | config X86_PTDUMP | 78 | config X86_PTDUMP |
90 | bool "Export kernel pagetable layout to userspace via debugfs" | 79 | bool "Export kernel pagetable layout to userspace via debugfs" |
91 | depends on DEBUG_KERNEL | 80 | depends on DEBUG_KERNEL |
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 0efcdca9751a..09596e01468e 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -983,6 +983,17 @@ config DEBUG_FORCE_WEAK_PER_CPU | |||
983 | To ensure that generic code follows the above rules, this | 983 | To ensure that generic code follows the above rules, this |
984 | option forces all percpu variables to be defined as weak. | 984 | option forces all percpu variables to be defined as weak. |
985 | 985 | ||
986 | config DEBUG_PER_CPU_MAPS | ||
987 | bool "Debug access to per_cpu maps" | ||
988 | depends on DEBUG_KERNEL | ||
989 | depends on SMP | ||
990 | help | ||
991 | Say Y to verify that the per_cpu map being accessed has | ||
992 | been set up. This adds a fair amount of code to kernel memory | ||
993 | and decreases performance. | ||
994 | |||
995 | Say N if unsure. | ||
996 | |||
986 | config LKDTM | 997 | config LKDTM |
987 | tristate "Linux Kernel Dump Test Tool Module" | 998 | tristate "Linux Kernel Dump Test Tool Module" |
988 | depends on DEBUG_FS | 999 | depends on DEBUG_FS |