lib-polynomial-move-to-math-subfolder.patch removed from -mm tree
The quilt patch titled
Subject: lib: polynomial: move to math/ subfolder
has been removed from the -mm tree. Its filename was
lib-polynomial-move-to-math-subfolder.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Andy Shevchenko <[email protected]>
Subject: lib: polynomial: move to math/ subfolder
Date: Mon, 2 Mar 2026 10:28:07 +0100
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.
---
lib/Kconfig | 3 - lib/Makefile | 2 lib/math/Kconfig | 3 + lib/math/Makefile | 1 lib/math/polynomial.c | 108 ++++++++++++++++++++++++++++++++++++++++ lib/polynomial.c | 108 ---------------------------------------- 6 files changed, 112 insertions(+), 113 deletions(-)
lib/Kconfig renamed from lib/Kconfig~lib-polynomial-move-to-math-subfolder +0 -3
@@ -625,9 +625,6 @@ config PLDMFW config ASN1_ENCODER tristate -config POLYNOMIAL - tristate - config FIRMWARE_TABLE bool
lib/Makefile renamed from lib/Makefile~lib-polynomial-move-to-math-subfolder +0 -2
@@ -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.
lib/math/Kconfig renamed from lib/math/Kconfig~lib-polynomial-move-to-math-subfolder +3 -0
@@ -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
lib/math/Makefile renamed from lib/math/Makefile~lib-polynomial-move-to-math-subfolder +1 -0
@@ -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
lib/math/polynomial.c new file +108 -0
108 lines not on this page · raw message
lib/polynomial.c deleted +0 -108
108 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are