]> git.baikalelectronics.ru Git - kernel.git/commitdiff
lib/interval_tree_test.c: allow the module to be compiled-in
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 10 Jul 2017 22:51:43 +0000 (15:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:35 +0000 (16:32 -0700)
Patch series "lib/interval_tree_test: some debugging improvements".

Here are some patches that update the interval_tree_test module allowing
users to pass finer grained options to run the actual test.

This patch (of 4):

It is a tristate after all, and also serves well for quick debugging.

Link: http://lkml.kernel.org/r/20170518174936.20265-2-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug

index ca9460f049b82ff8535521d94bed95ec87d0ce21..e20fc079bebd6e80239deb858ba508205c70a92b 100644 (file)
@@ -1594,7 +1594,7 @@ config RBTREE_TEST
 
 config INTERVAL_TREE_TEST
        tristate "Interval tree test"
-       depends on m && DEBUG_KERNEL
+       depends on DEBUG_KERNEL
        select INTERVAL_TREE
        help
          A benchmark measuring the performance of the interval tree library