forked from luck/tmp_suning_uos_patched
lib: Make prime number generator independently selectable
Make prime number generator independently selectable from kconfig. This allows us to enable CONFIG_PRIME_NUMBERS=m and run the tools/testing/selftests/lib/prime_numbers.sh without other DRM selftest modules. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
619ee76f5c
commit
d0676871fd
|
@ -6,7 +6,12 @@ config CORDIC
|
|||
calculations are in fixed point. Module will be called cordic.
|
||||
|
||||
config PRIME_NUMBERS
|
||||
tristate
|
||||
tristate "Simple prime number generator for testing"
|
||||
help
|
||||
This option provides a simple prime number generator for test
|
||||
modules.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config RATIONAL
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue
Block a user