diff options
Diffstat (limited to 'lib/Kconfig.debug')
-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 23067ab1a73c..77e0d8b1b7c5 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -777,6 +777,21 @@ config DEBUG_BLOCK_EXT_DEVT | |||
777 | 777 | ||
778 | Say N if you are unsure. | 778 | Say N if you are unsure. |
779 | 779 | ||
780 | config DEBUG_FORCE_WEAK_PER_CPU | ||
781 | bool "Force weak per-cpu definitions" | ||
782 | depends on DEBUG_KERNEL | ||
783 | help | ||
784 | s390 and alpha require percpu variables in modules to be | ||
785 | defined weak to work around addressing range issue which | ||
786 | puts the following two restrictions on percpu variable | ||
787 | definitions. | ||
788 | |||
789 | 1. percpu symbols must be unique whether static or not | ||
790 | 2. percpu variables can't be defined inside a function | ||
791 | |||
792 | To ensure that generic code follows the above rules, this | ||
793 | option forces all percpu variables to be defined as weak. | ||
794 | |||
780 | config LKDTM | 795 | config LKDTM |
781 | tristate "Linux Kernel Dump Test Tool Module" | 796 | tristate "Linux Kernel Dump Test Tool Module" |
782 | depends on DEBUG_KERNEL | 797 | depends on DEBUG_KERNEL |