aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug20
-rw-r--r--lib/textsearch.c1
2 files changed, 20 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index d2099f41aa1e..c35a86a516a0 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -531,16 +531,34 @@ config BOOT_PRINTK_DELAY
531config RCU_TORTURE_TEST 531config RCU_TORTURE_TEST
532 tristate "torture tests for RCU" 532 tristate "torture tests for RCU"
533 depends on DEBUG_KERNEL 533 depends on DEBUG_KERNEL
534 depends on m
535 default n 534 default n
536 help 535 help
537 This option provides a kernel module that runs torture tests 536 This option provides a kernel module that runs torture tests
538 on the RCU infrastructure. The kernel module may be built 537 on the RCU infrastructure. The kernel module may be built
539 after the fact on the running kernel to be tested, if desired. 538 after the fact on the running kernel to be tested, if desired.
540 539
540 Say Y here if you want RCU torture tests to be built into
541 the kernel.
541 Say M if you want the RCU torture tests to build as a module. 542 Say M if you want the RCU torture tests to build as a module.
542 Say N if you are unsure. 543 Say N if you are unsure.
543 544
545config RCU_TORTURE_TEST_RUNNABLE
546 bool "torture tests for RCU runnable by default"
547 depends on RCU_TORTURE_TEST = y
548 default n
549 help
550 This option provides a way to build the RCU torture tests
551 directly into the kernel without them starting up at boot
552 time. You can use /proc/sys/kernel/rcutorture_runnable
553 to manually override this setting. This /proc file is
554 available only when the RCU torture tests have been built
555 into the kernel.
556
557 Say Y here if you want the RCU torture tests to start during
558 boot (you probably don't).
559 Say N here if you want the RCU torture tests to start only
560 after being manually enabled via /proc.
561
544config KPROBES_SANITY_TEST 562config KPROBES_SANITY_TEST
545 bool "Kprobes sanity tests" 563 bool "Kprobes sanity tests"
546 depends on DEBUG_KERNEL 564 depends on DEBUG_KERNEL
diff --git a/lib/textsearch.c b/lib/textsearch.c
index be8bda3862f5..a3e500ad51d7 100644
--- a/lib/textsearch.c
+++ b/lib/textsearch.c
@@ -97,6 +97,7 @@
97#include <linux/types.h> 97#include <linux/types.h>
98#include <linux/string.h> 98#include <linux/string.h>
99#include <linux/init.h> 99#include <linux/init.h>
100#include <linux/rculist.h>
100#include <linux/rcupdate.h> 101#include <linux/rcupdate.h>
101#include <linux/err.h> 102#include <linux/err.h>
102#include <linux/textsearch.h> 103#include <linux/textsearch.h>