]> Git Repo - linux.git/commit
math: make RATIONAL tristate
authorGeert Uytterhoeven <[email protected]>
Wed, 8 Sep 2021 02:58:33 +0000 (19:58 -0700)
committerLinus Torvalds <[email protected]>
Wed, 8 Sep 2021 18:50:26 +0000 (11:50 -0700)
commitbcda5fd34417c89f653cc0912cc0608b36ea032c
tree0bcc3c81dbe861d8b94f232e40fc4bc1a70c4184
parent1c3493bb290bc654d13063a88660c070ad4eabcd
math: make RATIONAL tristate

Patch series "math: RATIONAL and RATIONAL_KUNIT_TEST improvements".

This series makes the RATIONAL symbol tristate, so it is not forced
builtin if all users are modular, and makes the RATIONAL_KUNIT_TEST depend
on RATIONAL, to avoid enabling RATIONAL if there are no real users.

This patch (of 2):

All but one symbols that select RATIONAL are tristate, but RATIONAL itself
is bool.  Change it to tristate, so the rational fractions support code
can be modular if no builtin code relies on it.

Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Trent Piepho <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: Brendan Higgins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/math/Kconfig
lib/math/rational.c
This page took 0.05454 seconds and 4 git commands to generate.