Skip to contentSkip to conversation

lib/interval_tree_test.c: allow the module to be compiled-in

PATCH New [email protected] 1 participant 1 message Jul 10, 2017 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 90/115 lib/interval_tree_test.c: allow the module to be compiled-in

From: Davidlohr Bueso <[email protected]>
Subject: lib/interval_tree_test.c: allow the module to be compiled-in

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.

---

 lib/Kconfig.debug |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug~lib-interval_tree_test-allow-the-module-to-be-compiled-in +1 -1
diff -puN lib/Kconfig.debug~lib-interval_tree_test-allow-the-module-to-be-compiled-in lib/Kconfig.debug
@@ -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

_