lib: add module support to atomic64 tests
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 24 Feb 2017 23:00:55 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:57 +0000 (17:46 -0800)
commit55ded9551f9a64f2872df77a954d4c30f8958e82
tree89d6c2ee51563b93a3d54bf50413c5ba89dd1db9
parentba95b045e94fe15cace3a7d3a20fbedb2c6a817e
lib: add module support to atomic64 tests

Allow to compile the atomic64 test code either to a loadable module, or
builtin into the kernel.

Link: http://lkml.kernel.org/r/1483470276-10517-3-git-send-email-geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug
lib/atomic64_test.c