projects
/
linux-platform-drivers-x86.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f235a6
)
math: Export mul_u64_u64_div_u64
author
David S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 23:42:54 +0000
(16:42 -0700)
committer
David S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 23:42:54 +0000
(16:42 -0700)
Fixes: f51d7bf1dbe5 ("ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation")
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/math/div64.c
patch
|
blob
|
history
diff --git
a/lib/math/div64.c
b/lib/math/div64.c
index 064d68a5391a09da4da883f187075b9bc6056d8a..46866394fc84382cbab511d044103406ffcd0176 100644
(file)
--- 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