summaryrefslogtreecommitdiffstats
path: root/lib/math
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-03-25 00:42:54 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-25 00:42:54 +0100
commitbf45947864764548697e7515fe693e10f173f312 (patch)
treee473f9b27f6534e6aba403c40a270d15e51d0717 /lib/math
parentch_ktls: fix enum-conversion warning (diff)
downloadlinux-bf45947864764548697e7515fe693e10f173f312.tar.xz
linux-bf45947864764548697e7515fe693e10f173f312.zip
math: Export mul_u64_u64_div_u64
Fixes: f51d7bf1dbe5 ("ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/math')
-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 064d68a5391a..46866394fc84 100644
--- a/lib/math/div64.c
+++ b/lib/math/div64.c
@@ -232,4 +232,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