projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7345d4b
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 10 Apr 2021 11:36:10 +0000
(13:36 +0200)
[ 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
patch
|
blob
|
history
diff --git
a/lib/math/div64.c
b/lib/math/div64.c
index
3952a07
..
edd1090
100644
(file)
--- 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