mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 19:45:07 +07:00
d0676871fd
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>
18 lines
426 B
Plaintext
18 lines
426 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config CORDIC
|
|
tristate "CORDIC algorithm"
|
|
help
|
|
This option provides an implementation of the CORDIC algorithm;
|
|
calculations are in fixed point. Module will be called cordic.
|
|
|
|
config PRIME_NUMBERS
|
|
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
|