Skip to content

Commit

Permalink
math: Export mul_u64_u64_div_u64
Browse files Browse the repository at this point in the history
Fixes: f51d7bf ("ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation")
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Mar 24, 2021
1 parent 6f235a6 commit bf45947
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/math/div64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bf45947

Please sign in to comment.