rhashtable: Make selftest modular

Allow the selftest on the resizable hash table to be built modular, just
like all other tests that do not depend on DEBUG_KERNEL.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Geert Uytterhoeven
2015-01-29 15:40:25 +01:00
committed by David S. Miller
parent 207895fd38
commit 9d6dbe1bba
4 changed files with 229 additions and 206 deletions

View File

@@ -1586,7 +1586,7 @@ config TEST_KSTRTOX
tristate "Test kstrto*() family of functions at runtime"
config TEST_RHASHTABLE
bool "Perform selftest on resizable hash table"
tristate "Perform selftest on resizable hash table"
default n
help
Enable this option to test the rhashtable functions at boot.