# \[PATCH AUTOSEL 5.10 33/33\] math: Export mul\_u64\_u64\_div\_u64

- From: Sasha Levin \<sashal@kernel.org\>
- Date: 2021-03-29 22:27:39 
- List: stable
- Page: https://ratatoskr.run/stable/2021/03/6320306
- Thread: https://ratatoskr.run/stable/2021/03/6320296/t.md

```text
From: "David S. Miller" <davem@davemloft.net>

[ 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>
---
 lib/math/div64.c | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.30.1

```
