diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 7dbd5d9c29a4..55d2acc607a1 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -805,6 +805,21 @@ config DEBUG_BLOCK_EXT_DEVT | |||
805 | 805 | ||
806 | Say N if you are unsure. | 806 | Say N if you are unsure. |
807 | 807 | ||
808 | config DEBUG_FORCE_WEAK_PER_CPU | ||
809 | bool "Force weak per-cpu definitions" | ||
810 | depends on DEBUG_KERNEL | ||
811 | help | ||
812 | s390 and alpha require percpu variables in modules to be | ||
813 | defined weak to work around addressing range issue which | ||
814 | puts the following two restrictions on percpu variable | ||
815 | definitions. | ||
816 | |||
817 | 1. percpu symbols must be unique whether static or not | ||
818 | 2. percpu variables can't be defined inside a function | ||
819 | |||
820 | To ensure that generic code follows the above rules, this | ||
821 | option forces all percpu variables to be defined as weak. | ||
822 | |||
808 | config LKDTM | 823 | config LKDTM |
809 | tristate "Linux Kernel Dump Test Tool Module" | 824 | tristate "Linux Kernel Dump Test Tool Module" |
810 | depends on DEBUG_KERNEL | 825 | depends on DEBUG_KERNEL |