mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
lib: polynomial: move to math/ subfolder
Patch series "lib: polynomial: Move to math/ and clean up", v2. While removing Baikal SoC and platform code pieces I found that this code belongs to lib/math/ rather than generic lib/. Hence the move and followed up cleanups. This patch (of 3): The algorithm behind polynomial belongs to our collection of math equations and expressions handling. Move it to math/ subfolder where others of the kind are located. Link: https://lkml.kernel.org/r/20260302092831.2267785-2-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
19aa667ace
commit
7eece6917c
@@ -625,9 +625,6 @@ config PLDMFW
|
||||
config ASN1_ENCODER
|
||||
tristate
|
||||
|
||||
config POLYNOMIAL
|
||||
tristate
|
||||
|
||||
config FIRMWARE_TABLE
|
||||
bool
|
||||
|
||||
|
||||
@@ -243,8 +243,6 @@ obj-$(CONFIG_MEMREGION) += memregion.o
|
||||
obj-$(CONFIG_STMP_DEVICE) += stmp_device.o
|
||||
obj-$(CONFIG_IRQ_POLL) += irq_poll.o
|
||||
|
||||
obj-$(CONFIG_POLYNOMIAL) += polynomial.o
|
||||
|
||||
# stackdepot.c should not be instrumented or call instrumented functions.
|
||||
# Prevent the compiler from calling builtins like memcmp() or bcmp() from this
|
||||
# file.
|
||||
|
||||
@@ -5,6 +5,9 @@ config CORDIC
|
||||
This option provides an implementation of the CORDIC algorithm;
|
||||
calculations are in fixed point. Module will be called cordic.
|
||||
|
||||
config POLYNOMIAL
|
||||
tristate
|
||||
|
||||
config PRIME_NUMBERS
|
||||
tristate "Simple prime number generator for testing"
|
||||
help
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
obj-y += div64.o gcd.o lcm.o int_log.o int_pow.o int_sqrt.o reciprocal_div.o
|
||||
|
||||
obj-$(CONFIG_CORDIC) += cordic.o
|
||||
obj-$(CONFIG_POLYNOMIAL) += polynomial.o
|
||||
obj-$(CONFIG_PRIME_NUMBERS) += prime_numbers.o
|
||||
obj-$(CONFIG_RATIONAL) += rational.o
|
||||
|
||||
|
||||
Reference in New Issue
Block a user