lib: add module support to linked list sorting tests
authorGeert Uytterhoeven <[email protected]>
Mon, 8 May 2017 22:55:26 +0000 (15:55 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 May 2017 00:15:10 +0000 (17:15 -0700)
commite327fd7c86678ba22d2b7cd25f6ceef1ffe29c8a
treed224eec1bee8c99031ef39b9cefe2a5d6b320e47
parent5c4e679898eabca844059743c05253cf33b90e94
lib: add module support to linked list sorting tests

Extract the linked list sorting test code into its own source file, to
allow to compile it 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]>
lib/Kconfig.debug
lib/Makefile
lib/list_sort.c
lib/test_list_sort.c [new file with mode: 0644]