summaryrefslogtreecommitdiffstats
path: root/lib/math
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-03-24 16:42:54 -0700
committerDavid S. Miller <davem@davemloft.net>2021-03-24 16:42:54 -0700
commitbf45947864764548697e7515fe693e10f173f312 (patch)
treee473f9b27f6534e6aba403c40a270d15e51d0717 /lib/math
parent6f235a69e59484e382dc31952025b0308efedc17 (diff)
downloadlinux-bf45947864764548697e7515fe693e10f173f312.tar.bz2
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