Skip to content

Commit d067687

Browse files
mhiramatshuahkh
authored andcommitted
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 <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Luis Chamberlain <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 619ee76 commit d067687

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/math/Kconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ config CORDIC
66
calculations are in fixed point. Module will be called cordic.
77

88
config PRIME_NUMBERS
9-
tristate
9+
tristate "Simple prime number generator for testing"
10+
help
11+
This option provides a simple prime number generator for test
12+
modules.
13+
14+
If unsure, say N.
1015

1116
config RATIONAL
1217
bool

0 commit comments

Comments
 (0)