summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-03-24 16:42:54 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-10 13:36:10 +0200
commit2934985086b95c45273d159f06bd72aecb8da364 (patch)
tree3dd02bcffa7faaea4e6ae5a58c18c8e2d271008c /lib
parent7345d4b2d42122ed7da3714db0fc30ad5a93fee3 (diff)
math: Export mul_u64_u64_div_u64
[ Upstream commit bf45947864764548697e7515fe693e10f173f312 ] Fixes: f51d7bf1dbe5 ("ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation") Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/math/div64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/math/div64.c b/lib/math/div64.c
index 3952a07130d8..edd1090c9edb 100644
--- a/lib/math/div64.c
+++ b/lib/math/div64.c
@@ -230,4 +230,5 @@ u64 mul_u64_u64_div_u64(u64 a, u64 b, u64 c)
return res + div64_u64(a * b, c);
}
+EXPORT_SYMBOL(mul_u64_u64_div_u64);
#endif