mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 11:40:25 +03:00
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
|
||||
d = divisor;
|
||||
|
||||
return do_div(dividend, d);
|
||||
do_div(dividend, d);
|
||||
|
||||
return dividend;
|
||||
#endif /* HAVE_DIV64_64, HAVE_DIV64_U64 */
|
||||
}
|
||||
EXPORT_SYMBOL(__udivdi3);
|
||||
|
Loading…
Reference in New Issue
Block a user