lib: Move mathematic helpers to separate folder
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 14 May 2019 22:43:05 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 May 2019 02:52:49 +0000 (19:52 -0700)
commit2c64e9cb0b6b858901e9a386860d7d929d1cbaeb
tree749da0ef8f5d478680a523c877fb0e16fc18409c
parentb5c56e0cdd62979dd538e5363b06be5bdf735a09
lib: Move mathematic helpers to separate folder

For better maintenance and expansion move the mathematic helpers to the
separate folder.

No functional change intended.

Note, the int_sqrt() is not used as a part of lib, so, moved to regular
obj.

Link: http://lkml.kernel.org/r/20190323172531.80025-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Ray Jui <rjui@broadcom.com>
[mchehab+samsung@kernel.org: fix broken doc references for div64.c and gcd.c]
Link: http://lkml.kernel.org/r/734f49bae5d4052b3c25691dfefad59bea2e5843.1555580999.git.mchehab+samsung@kernel.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
21 files changed:
Documentation/core-api/kernel-api.rst
lib/Kconfig
lib/Makefile
lib/cordic.c [deleted file]
lib/div64.c [deleted file]
lib/gcd.c [deleted file]
lib/int_sqrt.c [deleted file]
lib/lcm.c [deleted file]
lib/math/Kconfig [new file with mode: 0644]
lib/math/Makefile [new file with mode: 0644]
lib/math/cordic.c [new file with mode: 0644]
lib/math/div64.c [new file with mode: 0644]
lib/math/gcd.c [new file with mode: 0644]
lib/math/int_sqrt.c [new file with mode: 0644]
lib/math/lcm.c [new file with mode: 0644]
lib/math/prime_numbers.c [new file with mode: 0644]
lib/math/rational.c [new file with mode: 0644]
lib/math/reciprocal_div.c [new file with mode: 0644]
lib/prime_numbers.c [deleted file]
lib/rational.c [deleted file]
lib/reciprocal_div.c [deleted file]