Correctly handle division on 32-bit RHEL5 systems by returning dividend.
This commit is contained in:
parent
5652e7b497
commit
db1aa22297
|
@ -116,7 +116,9 @@ uint64_t __udivdi3(uint64_t dividend, uint64_t divisor)
|
||||||
} else
|
} else
|
||||||
d = divisor;
|
d = divisor;
|
||||||
|
|
||||||
return do_div(dividend, d);
|
do_div(dividend, d);
|
||||||
|
|
||||||
|
return dividend;
|
||||||
#endif /* HAVE_DIV64_64, HAVE_DIV64_U64 */
|
#endif /* HAVE_DIV64_64, HAVE_DIV64_U64 */
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(__udivdi3);
|
EXPORT_SYMBOL(__udivdi3);
|
||||||
|
|
Loading…
Reference in New Issue