Skip to content

Commit

Permalink
lib: add module support to array-based sort tests
Browse files Browse the repository at this point in the history
Allow to compile the array-based sort test code either to a loadable
module, or builtin into the kernel.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
geertu authored and torvalds committed May 9, 2017
1 parent ebd03a9 commit 5c4e679
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -1728,10 +1728,11 @@ config TEST_LIST_SORT
If unsure, say N.

config TEST_SORT
bool "Array-based sort test"
depends on DEBUG_KERNEL
tristate "Array-based sort test"
depends on DEBUG_KERNEL || m
help
This option enables the self-test function of 'sort()' at boot.
This option enables the self-test function of 'sort()' at boot,
or at module load time.

If unsure, say N.

Expand Down

0 comments on commit 5c4e679

Please sign in to comment.