lib: make test_bitops compilable into the kernel image
authorYury Norov <yury.norov@gmail.com>
Thu, 2 May 2024 16:56:33 +0000 (09:56 -0700)
committerYury Norov <yury.norov@gmail.com>
Thu, 9 May 2024 16:25:08 +0000 (09:25 -0700)
The test now is limited to be compiled as a module. There's no technical
reason for it. Now that the test bears some performance benchmarks, it
would be reasonable to run it at kernel load time, before userspace
starts, to reduce possible jitter.

Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
lib/Kconfig.debug

index c63a5fbf1f1c2b45b67603886ef9e6f07510f61d..fc8fe1ea5b49f807977c3cce8e074854011a4582 100644 (file)
@@ -2436,7 +2436,6 @@ config TEST_LKM
 
 config TEST_BITOPS
        tristate "Test module for compilation of bitops operations"
-       depends on m
        help
          This builds the "test_bitops" module that is much like the
          TEST_LKM module except that it does a basic exercise of the