projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common implementation of iterative div/mod
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
math64.h
diff --git
a/include/linux/math64.h
b/include/linux/math64.h
index c1a5f81501ff9f3f16edbd9c8e10aec48408aeee..177785e1e4a36bb535b1a39655f7078c39f761a2 100644
(file)
--- a/
include/linux/math64.h
+++ b/
include/linux/math64.h
@@
-81,4
+81,6
@@
static inline s64 div_s64(s64 dividend, s32 divisor)
}
#endif
+u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder);
+
#endif /* _LINUX_MATH64_H */