]> git.baikalelectronics.ru Git - kernel.git/commit
lib: add module support to linked list sorting tests
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 8 May 2017 22:55:26 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:10 +0000 (17:15 -0700)
commit107b809a54846964b7fa1e721a68d09065e770f7
treed224eec1bee8c99031ef39b9cefe2a5d6b320e47
parentd30d0ebaeed439a1a2e27f33adbb9af4f44b6e83
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/1488287219-15832-4-git-send-email-geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug
lib/Makefile
lib/list_sort.c
lib/test_list_sort.c [new file with mode: 0644]