summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-09-14 16:42:16 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-09-14 16:42:16 +1000
commite5021c7146aad066d73ab58586343357e8be72fe (patch)
treeeaedddb7c0bc31b23ef3acc5b845ab1200fbf0f8 /lib
parent6ace040a9f7b193860c2f07278aa2ef228e4bf5c (diff)
parentc2a7e818019f20a5cf7fb26a6eb59e212e6c0cd8 (diff)
Merge commit 'percpu/for-next'
Conflicts: arch/sh/kernel/vmlinux.lds.S kernel/sched.c mm/percpu.c
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 3d3383fe0fb9..e3c64a66b0a1 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -825,6 +825,21 @@ config DEBUG_BLOCK_EXT_DEVT
Say N if you are unsure.
+config DEBUG_FORCE_WEAK_PER_CPU
+ bool "Force weak per-cpu definitions"
+ depends on DEBUG_KERNEL
+ help
+ s390 and alpha require percpu variables in modules to be
+ defined weak to work around addressing range issue which
+ puts the following two restrictions on percpu variable
+ definitions.
+
+ 1. percpu symbols must be unique whether static or not
+ 2. percpu variables can't be defined inside a function
+
+ To ensure that generic code follows the above rules, this
+ option forces all percpu variables to be defined as weak.
+
config LKDTM
tristate "Linux Kernel Dump Test Tool Module"
depends on DEBUG_KERNEL