diff options
author | David S. Miller <davem@davemloft.net> | 2021-03-25 02:42:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-10 14:36:10 +0300 |
commit | 2934985086b95c45273d159f06bd72aecb8da364 (patch) | |
tree | 3dd02bcffa7faaea4e6ae5a58c18c8e2d271008c /lib | |
parent | 7345d4b2d42122ed7da3714db0fc30ad5a93fee3 (diff) | |
download | linux-2934985086b95c45273d159f06bd72aecb8da364.tar.xz |
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.c | 1 |
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 |