Skip to content

Commit 2934985

Browse files
davem330gregkh
authored andcommitted
math: Export mul_u64_u64_div_u64
[ Upstream commit bf45947 ] Fixes: f51d7bf ("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>
1 parent 7345d4b commit 2934985

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎lib/math/div64.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,5 @@ u64 mul_u64_u64_div_u64(u64 a, u64 b, u64 c)
230230

231231
return res + div64_u64(a * b, c);
232232
}
233+
EXPORT_SYMBOL(mul_u64_u64_div_u64);
233234
#endif

0 commit comments

Comments
 (0)