git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel/armv7 - Fixed edge case in __divmod64
[tpg/acess2.git]
/
Kernel
/
arch
/
armv7
/
lib.c
diff --git
a/Kernel/arch/armv7/lib.c
b/Kernel/arch/armv7/lib.c
index
94c1a3a
..
7e54afe
100644
(file)
--- a/
Kernel/arch/armv7/lib.c
+++ b/
Kernel/arch/armv7/lib.c
@@
-133,7
+133,7
@@
Uint64 __divmod64(Uint64 Num, Uint64 Den, Uint64 *Rem)
add >>= 1;
Den >>= 1;
// If the numerator is > Den, subtract and add to return value
- if( Num > Den )
+ if( Num >
=
Den )
{
ret += add;
Num -= Den;
UCC
git Repository :: git.ucc.asn.au