mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
d4d016caa4
We already had the implementation for __udiv_qrnnd (unsigned divide for multi-precision arithmetic) as part of the alpha math emulation code. But you can disable the math emulation code - even if you shouldn't - and then the MPI code that actually wants this functionality (and is needed by various crypto functions) will fail to build. So move the extended-precision divide code to be a regular library function, just like all the regular division code is. That way ie is available regardless of math-emulation. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11 lines
169 B
Makefile
11 lines
169 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for the FPU instruction emulation.
|
|
#
|
|
|
|
ccflags-y := -w
|
|
|
|
obj-$(CONFIG_MATHEMU) += math-emu.o
|
|
|
|
math-emu-objs := math.o
|